summaryrefslogtreecommitdiff
path: root/ripd/ripd.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-03-03 19:36:24 +0000
committerhasso <hasso>2004-03-03 19:36:24 +0000
commita1455d86f58dacbaf0abaacf7f5d15cfa8f1edb8 (patch)
treeb39dfda2c6db53d0edb96a86c5b7d1beb4cd9662 /ripd/ripd.c
parent429a0f8c5b0968218c1f022c9e2a722f20fb1877 (diff)
"show ip rip" fix from Krzysztof Oledzki ([quagga-dev 437]).
Diffstat (limited to 'ripd/ripd.c')
-rw-r--r--ripd/ripd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c
index 92eb9afa..608eee88 100644
--- a/ripd/ripd.c
+++ b/ripd/ripd.c
@@ -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, " ");