summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpaul <paul>2006-02-02 17:27:13 +0000
committerpaul <paul>2006-02-02 17:27:13 +0000
commit273f98afd0b636a43044c5d8e30396a0401c8640 (patch)
tree69ccfc69f576ad57cdeab5a561b32d173bdc8fed
parent8dd45fb1588ffd80b85a62c019916a31f3e2c573 (diff)
downloadquagga-273f98afd0b636a43044c5d8e30396a0401c8640.tar.bz2
quagga-273f98afd0b636a43044c5d8e30396a0401c8640.tar.xz
[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.
-rw-r--r--zebra/ChangeLog4
-rw-r--r--zebra/interface.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/zebra/ChangeLog b/zebra/ChangeLog
index e7079757..3295be83 100644
--- a/zebra/ChangeLog
+++ b/zebra/ChangeLog
@@ -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
diff --git a/zebra/interface.c b/zebra/interface.c
index d4266f59..ce31277f 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);