Skip to content

Commit

Permalink
Merge pull request #16648 from FRRouting/mergify/bp/stable/10.0/pr-16646
Browse files Browse the repository at this point in the history
pimd: Fix crash in pimd (backport #16646)
  • Loading branch information
Jafaral authored Aug 24, 2024
2 parents a23ef65 + 86a7cc8 commit 3987cea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pimd/pim_zebra.c
Original file line number Diff line number Diff line change
@@ -97,7 +97,10 @@ static int pim_zebra_if_address_add(ZAPI_CALLBACK_ARGS)

if (PIM_DEBUG_ZEBRA) {
zlog_debug("%s: %s(%s) connected IP address %pFX flags %u %s",
__func__, c->ifp->name, VRF_LOGNAME(pim_ifp->pim->vrf), p, c->flags,
__func__, c->ifp->name,
(pim_ifp ? VRF_LOGNAME(pim_ifp->pim->vrf)
: "Unknown"),
p, c->flags,
CHECK_FLAG(c->flags, ZEBRA_IFA_SECONDARY)
? "secondary"
: "primary");

0 comments on commit 3987cea

Please sign in to comment.