diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-02-05 22:02:40 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-05-17 00:27:08 +0000 |
| commit | c3bd894e4d2395d2bc72b0d7a94984f04e93adb1 (patch) | |
| tree | 98d97da198271e7486ad4519328f7bb97f5fae16 /zebra/interface.c | |
| parent | 999668407ea0f9492a93b226e0d06ab970c0ad82 (diff) | |
vrrpd: protodown macvlan in backup state
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/interface.c')
| -rw-r--r-- | zebra/interface.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/zebra/interface.c b/zebra/interface.c index b0ddcaf8bc..2ed8a82000 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -47,6 +47,7 @@ #include "zebra/irdp.h" #include "zebra/zebra_ptm.h" #include "zebra/rt_netlink.h" +#include "zebra/if_netlink.h" #include "zebra/interface.h" #include "zebra/zebra_vxlan.h" #include "zebra/zebra_errors.h" @@ -1063,7 +1064,10 @@ void zebra_if_update_all_links(void) } } - +void zebra_if_set_protodown(struct interface *ifp, bool down) +{ + netlink_protodown(ifp, down); +} /* Output prefix string to vty. */ static int prefix_vty_out(struct vty *vty, struct prefix *p) |
