summaryrefslogtreecommitdiff
path: root/zebra/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/interface.c')
-rw-r--r--zebra/interface.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index 94f5cb58cd..2cfceaa6d9 100644
--- a/zebra/interface.c
+++ b/zebra/interface.c
@@ -1220,12 +1220,6 @@ static void nbr_connected_dump_vty(struct vty *vty,
vty_out(vty, "\n");
}
-static void nhg_dependent_dump_vty(struct vty *vty,
- struct nhg_connected *connected)
-{
- vty_out(vty, " (%u)", connected->nhe->id);
-}
-
static const char *zebra_ziftype_2str(zebra_iftype_t zif_type)
{
switch (zif_type) {
@@ -1458,17 +1452,6 @@ static void if_dump_vty(struct vty *vty, struct interface *ifp)
connected_dump_vty(vty, connected);
}
- if (!if_nhg_dependents_is_empty(ifp)) {
- struct nhg_connected *rb_node_dep = NULL;
-
- vty_out(vty, " Nexthop IDs connected:");
- RB_FOREACH (rb_node_dep, nhg_connected_head,
- &zebra_if->nhg_dependents) {
- nhg_dependent_dump_vty(vty, rb_node_dep);
- }
- vty_out(vty, "\n");
- }
-
vty_out(vty, " Interface Type %s\n",
zebra_ziftype_2str(zebra_if->zif_type));
if (IS_ZEBRA_IF_BRIDGE(ifp)) {