summaryrefslogtreecommitdiff
path: root/pimd/pim_zebra.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-10-13 11:31:07 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-21 20:26:11 -0500
commitb1d15e151a3a640d6b0bb4c6f47eeb85f12f946b (patch)
tree4b038f6e5272262b6b3dff991507e98a99257875 /pimd/pim_zebra.c
parent040d86ade76e3791ea42d25a2b0261791e2f579b (diff)
pimd: Allow mroute to return if incoming interface comes back
If the incoming interface comes back, reinstall the channel oil if the mroute is not installed. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_zebra.c')
-rw-r--r--pimd/pim_zebra.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c
index cd0dd5c452..e8460044e1 100644
--- a/pimd/pim_zebra.c
+++ b/pimd/pim_zebra.c
@@ -450,6 +450,9 @@ pim_scan_individual_oil (struct channel_oil *c_oil)
if (input_iface_vif_index == c_oil->oil.mfcc_parent)
{
+ if (!c_oil->installed)
+ pim_mroute_add (c_oil);
+
/* RPF unchanged */
return;
}