Skip to content

Commit

Permalink
Merge pull request #16647 from FRRouting/mergify/bp/stable/10.1/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 119041b + 02bc3f4 commit c3239e0
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
Expand Up @@ -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");
Expand Down

0 comments on commit c3239e0

Please sign in to comment.