]> git.puffer.fish Git - matthieu/frr.git/commitdiff
[zebra] Display flags on their line in 'show interface'.
authorpaul <paul>
Thu, 2 Feb 2006 17:27:13 +0000 (17:27 +0000)
committerpaul <paul>
Thu, 2 Feb 2006 17:27:13 +0000 (17:27 +0000)
2006-02-02 Paul Jakma <paul.jakma@sun.com>

* interface.c: (if_dump_vty) move flags to their line, neater.

zebra/ChangeLog
zebra/interface.c

index e707975789dc7175e4d2d4d162a0af54b172e67c..3295be8319d2c273636767942963932575528f0b 100644 (file)
@@ -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
index d4266f59bf320793b92f31abd8dfa18a8f38ef15..ce31277fb7d07b7fc93b10a872005c21066e8211 100644 (file)
@@ -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);