diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2022-01-14 17:52:36 +0100 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2022-02-14 06:45:03 +0100 | 
| commit | 034db86b72933be426d220c8ff1c6d31810fb860 (patch) | |
| tree | b8eae030c11db44c04a4bbacef40edc1bdcc290d /pimd/pim_bsm.c | |
| parent | 01adb431d38c4481795cae0e36b59014f389e0e3 (diff) | |
pim6d: IPv6-adjust iface primary/DR addrs
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_bsm.c')
| -rw-r--r-- | pimd/pim_bsm.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_bsm.c b/pimd/pim_bsm.c index 6702feb657..add9b7fe69 100644 --- a/pimd/pim_bsm.c +++ b/pimd/pim_bsm.c @@ -955,7 +955,7 @@ bool pim_bsm_new_nbr_fwd(struct pim_neighbor *neigh, struct interface *ifp)  	pim_ifp = ifp->info;  	/* DR only forwards BSM packet */ -	if (pim_ifp->pim_dr_addr.s_addr == pim_ifp->primary_address.s_addr) { +	if (!pim_addr_cmp(pim_ifp->pim_dr_addr, pim_ifp->primary_address)) {  		if (PIM_DEBUG_BSM)  			zlog_debug(  				"%s: It is not DR, so don't forward BSM packet",  | 
