summaryrefslogtreecommitdiff
path: root/pimd/pim_cmd.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2018-08-16 11:32:41 -0400
committerGitHub <noreply@github.com>2018-08-16 11:32:41 -0400
commit4b0d7894cba17263015b7a5d0f9436d10a492ebc (patch)
treef263dd99bf2740a5cd48c620a67b5f21cc01660e /pimd/pim_cmd.c
parent783d61be04d7b73afb37c9590822b895b3795b94 (diff)
parent9ea660be3ae4b1914a09a0f569851575fa138f18 (diff)
Merge pull request #2846 from donaldsharp/backet_data
Backet data
Diffstat (limited to 'pimd/pim_cmd.c')
-rw-r--r--pimd/pim_cmd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c
index 6eb4303fb7..7c45ce261a 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);