]> git.puffer.fish Git - mirror/frr.git/commitdiff
"show ip rip" fix from Krzysztof Oledzki ([quagga-dev 437]).
authorhasso <hasso>
Wed, 3 Mar 2004 19:36:24 +0000 (19:36 +0000)
committerhasso <hasso>
Wed, 3 Mar 2004 19:36:24 +0000 (19:36 +0000)
ripd/ChangeLog
ripd/ripd.c

index fdfbdc16e4858479271e491a05c7199e6707606a..5e5405824a5dd585b84b9f694ba919eedc52d677 100644 (file)
@@ -1,3 +1,7 @@
+2004-03-03 Krzysztof Oledzki <oleq@ans.pl>
+
+       * ripd.c: fix "show ip rip".
+
 2004-01-23 sowmini.varadhan@sun.com
 
        * rip_interface.c: obsolete unbind code in
index 92eb9afad9a5f69bda7f045f29bc2b11e691d51b..608eee88c18e5512515ee3e3d949fdf56a6e0c78 100644 (file)
@@ -3343,7 +3343,7 @@ DEFUN (show_ip_rip,
           "Sub-codes:%s"
            "      (n) - normal, (s) - static, (d) - default, (r) - redistribute,%s"
           "      (i) - interface%s%s"
-          "     Network         Next Hop         Metric From            Tag Time%s",
+          "     Network            Next Hop         Metric From            Tag Time%s",
           VTY_NEWLINE, VTY_NEWLINE,  VTY_NEWLINE, VTY_NEWLINE, VTY_NEWLINE, VTY_NEWLINE);
   
   for (np = route_top (rip->table); np; np = route_next (np))
@@ -3357,7 +3357,7 @@ DEFUN (show_ip_rip,
                       rip_route_type_print (rinfo->sub_type),
                       inet_ntoa (np->p.u.prefix4), np->p.prefixlen);
        
-       len = 21 - len;
+       len = 24 - len;
 
        if (len > 0)
          vty_out (vty, "%*s", len, " ");