mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 19:18:43 +00:00
[zebra] Display flags on their line in 'show interface'.
2006-02-02 Paul Jakma <paul.jakma@sun.com> * interface.c: (if_dump_vty) move flags to their line, neater.
This commit is contained in:
parent
b1fc9acbbe
commit
3a570c8b7b
@ -1,3 +1,7 @@
|
||||
2006-02-02 Paul Jakma <paul.jakma@sun.com>
|
||||
|
||||
* interface.c: (if_dump_vty) move flags to their line, neater.
|
||||
|
||||
2006-01-30 Paul Jakma <paul.jakma@sun.com>
|
||||
|
||||
* zebra_rib.c: (rib_process) Fourth time lucky on this jinxed
|
||||
|
@ -736,11 +736,13 @@ if_dump_vty (struct vty *vty, struct interface *ifp)
|
||||
|
||||
vty_out (vty, " index %d metric %d mtu %d ",
|
||||
ifp->ifindex, ifp->metric, ifp->mtu);
|
||||
if_flag_dump_vty (vty, ifp->flags);
|
||||
#ifdef HAVE_IPV6
|
||||
if (ifp->mtu6 != ifp->mtu)
|
||||
vty_out (vty, "mtu6 %d ", ifp->mtu6);
|
||||
#endif
|
||||
vty_out (vty, "%s flags: ", VTY_NEWLINE);
|
||||
|
||||
if_flag_dump_vty (vty, ifp->flags);
|
||||
|
||||
vty_out (vty, "%s", VTY_NEWLINE);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user