summaryrefslogtreecommitdiffstats
path: root/pimd/pim_bsm.c
diff options
context:
space:
mode:
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 238c19d2c..0e6f78ab6 100644
--- a/pimd/pim_bsm.c
+++ b/pimd/pim_bsm.c
@@ -663,7 +663,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;