mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-09 13:18:52 +00:00
zebra: ifp must be a real pointer sometimes
The ifp pointer must be pointing at a real location in memory since right above us in this loop we return if it is. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
964c3dba62
commit
4bb55bbecc
@ -474,8 +474,7 @@ static int nexthop_active(afi_t afi, struct route_entry *re,
|
|||||||
if (IS_ZEBRA_DEBUG_RIB_DETAILED)
|
if (IS_ZEBRA_DEBUG_RIB_DETAILED)
|
||||||
zlog_debug(
|
zlog_debug(
|
||||||
"\t%s: Interface %s is not unnumbered",
|
"\t%s: Interface %s is not unnumbered",
|
||||||
__PRETTY_FUNCTION__,
|
__PRETTY_FUNCTION__, ifp->name);
|
||||||
ifp ? ifp->name : "Unknown");
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user