From 9e217275d068f35152d3f3198356ff911ab24ad3 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Thu, 28 Apr 2022 16:41:25 +0200 Subject: [PATCH] pimd: fix format strings in #10592 Signed-off-by: David Lamparter --- pimd/pim_nht.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pimd/pim_nht.c b/pimd/pim_nht.c index 3082530f17..b20f801132 100644 --- a/pimd/pim_nht.c +++ b/pimd/pim_nht.c @@ -259,12 +259,12 @@ void pim_nht_bsr_del(struct pim_instance *pim, pim_addr addr) pnc = hash_lookup(pim->rpf_hash, &lookup); if (!pnc) { - zlog_warn("attempting to delete nonexistent NHT BSR entry %pI4", + zlog_warn("attempting to delete nonexistent NHT BSR entry %pPA", &addr); return; } - assertf(pnc->bsr_count > 0, "addr=%pI4", &addr); + assertf(pnc->bsr_count > 0, "addr=%pPA", &addr); pnc->bsr_count--; pim_nht_drop_maybe(pim, pnc); -- 2.39.5