diff options
author | Jorge Boncompte <jbonor@gmail.com> | 2017-07-25 11:55:41 +0200 |
---|---|---|
committer | Jorge Boncompte <jbonor@gmail.com> | 2017-08-04 10:19:36 +0200 |
commit | 1994ae60eee8f976063ad3b9e230c8a20cd17fb4 (patch) | |
tree | 71c7a4d622cf98d72c986768193806290a0b17df | |
parent | zebra: copy MTU from non static routes into nexthop (diff) | |
download | frr-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>
-rw-r--r-- | zebra/zebra_vty.c | 3 |
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) { |