diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-11-26 17:56:59 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-26 17:56:59 +0100 |
| commit | dd90b4c86a6805b421249c77264c2d9cb29205ca (patch) | |
| tree | 7f1b65ab0e921073f6fb5abd6af5c4894e7a805e /zebra/interface.c | |
| parent | a1ff097b5c9cf437ea4006e2b53ea849be0aa4c2 (diff) | |
| parent | a6e7677e63d5a0f35b573164b4f8cc91afa0b1ac (diff) | |
Merge pull request #4977 from chiragshah6/evpn_dev1
* evpn primary address advertisement
Diffstat (limited to 'zebra/interface.c')
| -rw-r--r-- | zebra/interface.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/zebra/interface.c b/zebra/interface.c index 64a7e9abc0..20b05dfb32 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -1062,7 +1062,9 @@ void if_up(struct interface *ifp) zif->link_ifindex); if (link_if) zebra_vxlan_svi_up(ifp, link_if); - } + } else if (IS_ZEBRA_IF_MACVLAN(ifp)) + zebra_vxlan_macvlan_up(ifp); + } /* Interface goes down. We have to manage different behavior of based @@ -1094,7 +1096,8 @@ void if_down(struct interface *ifp) zif->link_ifindex); if (link_if) zebra_vxlan_svi_down(ifp, link_if); - } + } else if (IS_ZEBRA_IF_MACVLAN(ifp)) + zebra_vxlan_macvlan_down(ifp); /* Notify to the protocol daemons. */ |
