diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-05-03 20:06:55 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-05-03 05:05:19 -0400 |
| commit | 4bb55bbecc67b33c4f72bf88f6f9c73330a1f44a (patch) | |
| tree | 379d722ee8bfc2b1530eeab13e017256acc3eaa0 | |
| parent | 964c3dba62d7532957f7ea20a82c0afb4c8b3de2 (diff) | |
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>
| -rw-r--r-- | zebra/zebra_rib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 2994911165..026fa41af5 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -474,8 +474,7 @@ static int nexthop_active(afi_t afi, struct route_entry *re, if (IS_ZEBRA_DEBUG_RIB_DETAILED) zlog_debug( "\t%s: Interface %s is not unnumbered", - __PRETTY_FUNCTION__, - ifp ? ifp->name : "Unknown"); + __PRETTY_FUNCTION__, ifp->name); return 0; } } |
