diff options
author | paul <paul> | 2006-02-02 18:27:13 +0100 |
---|---|---|
committer | paul <paul> | 2006-02-02 18:27:13 +0100 |
commit | 3a570c8b7b56b5a3042fbc035a01c753440b927c (patch) | |
tree | 89ee2d6845bf23c83e659f5aac43a6496e77ddf1 /zebra/interface.c | |
parent | [build system] cleanup --enable-snmp by removing ucd-snmp cruft (diff) | |
download | frr-3a570c8b7b56b5a3042fbc035a01c753440b927c.tar.xz frr-3a570c8b7b56b5a3042fbc035a01c753440b927c.zip |
[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.
Diffstat (limited to 'zebra/interface.c')
-rw-r--r-- | zebra/interface.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zebra/interface.c b/zebra/interface.c index d4266f59b..ce31277fb 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -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); |