diff options
-rw-r--r-- | pimd/pim_cmd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index 6eb4303fb..7c45ce261 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -2795,9 +2795,6 @@ static int pim_print_pnc_cache_walkcb(struct hash_backet *backet, void *arg) ifindex_t first_ifindex; struct interface *ifp = NULL; - if (!pnc) - return CMD_SUCCESS; - for (nh_node = pnc->nexthop; nh_node; nh_node = nh_node->next) { first_ifindex = nh_node->ifindex; ifp = if_lookup_by_index(first_ifindex, pim->vrf_id); |