diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-08-21 20:26:29 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-21 20:26:29 -0400 |
| commit | ad4c7e8d4e24b0a92808dbe5aed5cc87c78db2c0 (patch) | |
| tree | e470bc22ca314761f5e434cc9b12b1808c6e7e67 /zebra/zebra_mpls_openbsd.c | |
| parent | f197ecb35f8a85dfc6c9b9146cbf0a7d5cf4d6a5 (diff) | |
| parent | 4280d91ce89b453ad1a94da77ebd05efaa61ea46 (diff) | |
Merge pull request #4778 from mjstapp/dplane_macs
zebra: use dataplane for evpn macs
Diffstat (limited to 'zebra/zebra_mpls_openbsd.c')
| -rw-r--r-- | zebra/zebra_mpls_openbsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_mpls_openbsd.c b/zebra/zebra_mpls_openbsd.c index e7fdaf127d..9f3ea70c77 100644 --- a/zebra/zebra_mpls_openbsd.c +++ b/zebra/zebra_mpls_openbsd.c @@ -369,7 +369,7 @@ static enum zebra_dplane_result kmpw_install(struct zebra_dplane_ctx *ctx) /* ioctl */ memset(&ifr, 0, sizeof(ifr)); - strlcpy(ifr.ifr_name, dplane_ctx_get_pw_ifname(ctx), + strlcpy(ifr.ifr_name, dplane_ctx_get_ifname(ctx), sizeof(ifr.ifr_name)); ifr.ifr_data = (caddr_t)&imr; if (ioctl(kr_state.ioctl_fd, SIOCSETMPWCFG, &ifr) == -1) { @@ -388,7 +388,7 @@ static enum zebra_dplane_result kmpw_uninstall(struct zebra_dplane_ctx *ctx) memset(&ifr, 0, sizeof(ifr)); memset(&imr, 0, sizeof(imr)); - strlcpy(ifr.ifr_name, dplane_ctx_get_pw_ifname(ctx), + strlcpy(ifr.ifr_name, dplane_ctx_get_ifname(ctx), sizeof(ifr.ifr_name)); ifr.ifr_data = (caddr_t)&imr; if (ioctl(kr_state.ioctl_fd, SIOCSETMPWCFG, &ifr) == -1) { |
