summaryrefslogtreecommitdiffstats
path: root/zebra
diff options
context:
space:
mode:
authorJorge Boncompte <jbonor@gmail.com>2017-07-25 11:55:41 +0200
committerJorge Boncompte <jbonor@gmail.com>2017-08-04 10:19:36 +0200
commit1994ae60eee8f976063ad3b9e230c8a20cd17fb4 (patch)
tree71c7a4d622cf98d72c986768193806290a0b17df /zebra
parentzebra: copy MTU from non static routes into nexthop (diff)
downloadfrr-1994ae60eee8f976063ad3b9e230c8a20cd17fb4.tar.xz
frr-1994ae60eee8f976063ad3b9e230c8a20cd17fb4.zip
zebra: show nexthop MTU if available on detailed 'show ip route'
Signed-off-by: Jorge Boncompte <jbonor@gmail.com>
Diffstat (limited to 'zebra')
-rw-r--r--zebra/zebra_vty.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c
index e8b82ecf9..184e1dc36 100644
--- a/zebra/zebra_vty.c
+++ b/zebra/zebra_vty.c
@@ -540,6 +540,9 @@ static void vty_show_ip_route_detail(struct vty *vty, struct route_node *rn,
break;
}
+ if (re->nexthop_mtu)
+ vty_out(vty, ", mtu %u", re->nexthop_mtu);
+
/* Label information */
if (nexthop->nh_label
&& nexthop->nh_label->num_labels) {