summaryrefslogtreecommitdiffstats
path: root/eigrpd/eigrp_dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'eigrpd/eigrp_dump.c')
-rw-r--r--eigrpd/eigrp_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eigrpd/eigrp_dump.c b/eigrpd/eigrp_dump.c
index 651a9339d..bbe2b8822 100644
--- a/eigrpd/eigrp_dump.c
+++ b/eigrpd/eigrp_dump.c
@@ -300,7 +300,7 @@ void show_ip_eigrp_prefix_entry(struct vty *vty, struct eigrp_prefix_entry *tn)
tn->serno);
if (successors)
- list_delete_and_null(&successors);
+ list_delete(&successors);
}
void show_ip_eigrp_nexthop_entry(struct vty *vty, struct eigrp *eigrp,