]> git.proxmox.com Git - mirror_frr.git/commitdiff
pimd: Allow mroute to return if incoming interface comes back
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 13 Oct 2016 15:31:07 +0000 (11:31 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 22 Dec 2016 01:26:11 +0000 (20:26 -0500)
If the incoming interface comes back, reinstall the channel oil
if the mroute is not installed.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_zebra.c

index cd0dd5c4520e0cd21edd8b440409b2723fb03b16..e8460044e12618a16eec212ffc9ac343f26ac741 100644 (file)
@@ -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;
     }