summaryrefslogtreecommitdiffstats
path: root/pimd/pim_zebra.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-09-17 19:58:59 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-09-17 19:58:59 +0200
commit59752d4ea5fc500db2f659f85f2e8c68045a83b8 (patch)
tree20b40215ecb8fdc7ef066fc35cb6c6f87bb29522 /pimd/pim_zebra.c
parentMerge pull request #3031 from pacovn/static_analysis__Wcomma (diff)
downloadfrr-59752d4ea5fc500db2f659f85f2e8c68045a83b8.tar.xz
frr-59752d4ea5fc500db2f659f85f2e8c68045a83b8.zip
pimd: Actually create vif's in non-integrated config
The startup of a non-integrated config was not properly allowing for startup to create the vif when we have not learned about the interface we are trying to configure at this point in time. Actually notice when we are trying to create a pimreg device or not to properly notice when to attempt to create the vif or not. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to '')
-rw-r--r--pimd/pim_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c
index ab6258ad3..ad60e8e3a 100644
--- a/pimd/pim_zebra.c
+++ b/pimd/pim_zebra.c
@@ -112,7 +112,7 @@ static int pim_zebra_if_add(int command, struct zclient *zclient,
struct pim_interface *pim_ifp;
if (!ifp->info) {
- pim_ifp = pim_if_new(ifp, 0, 0);
+ pim_ifp = pim_if_new(ifp, 0, 0, false);
ifp->info = pim_ifp;
}