diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-01-21 10:54:10 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-01-30 18:51:20 +0100 |
commit | dc0665f1509725bab4c0c20031a06ff80cfc36f8 (patch) | |
tree | 4806536f2234583e5f7d57890c0cd9831883c243 /pimd/pimd.c | |
parent | pimd: Fixup tracking of where we got OIF's from. (diff) | |
download | frr-dc0665f1509725bab4c0c20031a06ff80cfc36f8.tar.xz frr-dc0665f1509725bab4c0c20031a06ff80cfc36f8.zip |
pimd: Handle assignment of vif index better
PIM was handling vif creation deletion poorly
for interface down and up events. Fix this
issue by keeping track of which vif index'es
we have issued and allow the wholes to be
filled in.
Ticket: CM-14556
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pimd.c')
-rw-r--r-- | pimd/pimd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pimd/pimd.c b/pimd/pimd.c index c000a2364..e0788772c 100644 --- a/pimd/pimd.c +++ b/pimd/pimd.c @@ -49,7 +49,6 @@ struct thread_master *master = NULL; uint32_t qpim_debugs = 0; int qpim_mroute_socket_fd = -1; int64_t qpim_mroute_socket_creation = 0; /* timestamp of creation */ -int qpim_mroute_oif_highest_vif_index = -1; int qpim_t_periodic = PIM_DEFAULT_T_PERIODIC; /* Period between Join/Prune Messages */ struct pim_assert_metric qpim_infinite_assert_metric; long qpim_rpf_cache_refresh_delay_msec = 50; @@ -122,7 +121,6 @@ void pim_init() qpim_static_route_list->del = (void (*)(void *)) pim_static_route_free; qpim_mroute_socket_fd = -1; /* mark mroute as disabled */ - qpim_mroute_oif_highest_vif_index = -1; qpim_inaddr_any.s_addr = PIM_NET_INADDR_ANY; |