summaryrefslogtreecommitdiffstats
path: root/pimd/pim_bsm.c
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2022-02-08 19:09:08 +0100
committerGitHub <noreply@github.com>2022-02-08 19:09:08 +0100
commit76802e52098c4c8bc400496da3f609af60b4290d (patch)
treebd0183459a538b302c3b42071c59b571b494d38e /pimd/pim_bsm.c
parentMerge pull request #10511 from anlancs/ospf-substitute (diff)
parentpimd: add more dual-family address bits (diff)
downloadfrr-76802e52098c4c8bc400496da3f609af60b4290d.tar.xz
frr-76802e52098c4c8bc400496da3f609af60b4290d.zip
Merge pull request #10292 from opensourcerouting/pim6-addr-aux
pimd: start tackling IPv6 address operations
Diffstat (limited to 'pimd/pim_bsm.c')
-rw-r--r--pimd/pim_bsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_bsm.c b/pimd/pim_bsm.c
index c8b6d4e40..421479047 100644
--- a/pimd/pim_bsm.c
+++ b/pimd/pim_bsm.c
@@ -661,7 +661,7 @@ void pim_bsm_clear(struct pim_instance *pim)
/* Find the upstream (*, G) whose upstream address is same as
* the RP
*/
- if (up->sg.src.s_addr != INADDR_ANY)
+ if (!pim_addr_is_any(up->sg.src))
continue;
struct prefix grp;