From 122edcfa3b62d50138d3a33e63248527653278b1 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Tue, 26 Apr 2022 13:43:12 +0200 Subject: [PATCH] fixup bsm #6 --- pimd/pim_bsm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pimd/pim_bsm.c b/pimd/pim_bsm.c index 50de072cfcbe..5f3c9e9093f1 100644 --- a/pimd/pim_bsm.c +++ b/pimd/pim_bsm.c @@ -1351,7 +1351,7 @@ int pim_bsm_process(struct interface *ifp, pim_sgaddr *sg, uint8_t *buf, if (PIM_DEBUG_BSM) zlog_debug( "%s : nofwd_bsm received on %pPAs when accpt_nofwd_bsm false", - __func__, &bshdr->bsr_addr.addr); + __func__, (pim_addr *)&bshdr->bsr_addr.addr); pim->bsm_dropped++; pim_ifp->pim_ifstat_ucast_bsm_cfg_miss++; return -1; @@ -1368,7 +1368,7 @@ int pim_bsm_process(struct interface *ifp, pim_sgaddr *sg, uint8_t *buf, if (PIM_DEBUG_BSM) zlog_debug( "BSM check: RPF to BSR %pPAs is not %pPA%%%s", - &bshdr->bsr_addr.addr, &sg->src, + (pim_addr *)&bshdr->bsr_addr.addr, &sg->src, ifp->name); pim->bsm_dropped++; return -1;