"show ip rip" fix from Krzysztof Oledzki ([quagga-dev 437]).
diff --git a/ripd/ChangeLog b/ripd/ChangeLog
index fdfbdc1..5e54058 100644
--- a/ripd/ChangeLog
+++ b/ripd/ChangeLog
@@ -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
diff --git a/ripd/ripd.c b/ripd/ripd.c
index 92eb9af..608eee8 100644
--- a/ripd/ripd.c
+++ b/ripd/ripd.c
@@ -3343,7 +3343,7 @@
"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 @@
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, " ");