diff options
author | saravanank <saravanank@vmware.com> | 2020-03-20 02:05:11 +0100 |
---|---|---|
committer | saravanank <saravanank@vmware.com> | 2020-03-20 02:27:37 +0100 |
commit | 46a9ea8bfa753472e786268ed97444b41ce94fa8 (patch) | |
tree | 3e6e28b0d555ad523232fef445c63479c0b3a22f /pimd/pim_iface.c | |
parent | Merge pull request #6003 from ton31337/fix/skip_kitchen_files (diff) | |
download | frr-46a9ea8bfa753472e786268ed97444b41ce94fa8.tar.xz frr-46a9ea8bfa753472e786268ed97444b41ce94fa8.zip |
pimd: When DR becomes non DR, couldreg state events not handled.
RCA: Upstreams which are in register state other than noinfo, doesnt remove
register tunnel from oif after it becomes nonDR
Fix: scan upstreams with iif as the old dr and check if couldReg becomes false.
If couldreg becomes false from true, remove regiface and stop reg timer.
Do not disturb the entry. Later the entry shall be removed by kat expiry.
Signed-off-by: Saravanan K <saravanank@vmware.com>
Diffstat (limited to 'pimd/pim_iface.c')
-rw-r--r-- | pimd/pim_iface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pimd/pim_iface.c b/pimd/pim_iface.c index cb31878e0..fe67f189b 100644 --- a/pimd/pim_iface.c +++ b/pimd/pim_iface.c @@ -137,6 +137,7 @@ struct pim_interface *pim_if_new(struct interface *ifp, bool igmp, bool pim, /* BSM config on interface: true by default */ pim_ifp->bsm_enable = true; pim_ifp->ucast_bsm_accept = true; + pim_ifp->am_i_dr = false; /* RFC 3376: 8.3. Query Response Interval |