summaryrefslogtreecommitdiffstats
path: root/vrrpd/vrrp_zebra.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-02-08 00:48:49 +0100
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-05-17 02:27:08 +0200
commit53e60e5c5819ea3a602d1bd60b50b0b30caf7702 (patch)
treebcbf644e60899329c024416485d8b165c150795a /vrrpd/vrrp_zebra.c
parentvrrpd: add cli for preempt mode (diff)
downloadfrr-53e60e5c5819ea3a602d1bd60b50b0b30caf7702.tar.xz
frr-53e60e5c5819ea3a602d1bd60b50b0b30caf7702.zip
vrrpd: autoconfig support
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'vrrpd/vrrp_zebra.c')
-rw-r--r--vrrpd/vrrp_zebra.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vrrpd/vrrp_zebra.c b/vrrpd/vrrp_zebra.c
index c41915cbd..e7967f932 100644
--- a/vrrpd/vrrp_zebra.c
+++ b/vrrpd/vrrp_zebra.c
@@ -61,7 +61,8 @@ static int vrrp_zebra_if_add(int command, struct zclient *zclient,
if (!ifp)
return 0;
- /* FIXME: handle subinterface creation here */
+ if (vrrp_autoconfig_on)
+ vrrp_autoconfig(ifp);
return 0;
}