Merge pull request #13327 from opensourcerouting/fix/rip_status_align

ripd: Align show ip rip status output for sources
This commit is contained in:
Donald Sharp 2023-04-21 09:41:00 -04:00 committed by GitHub
commit de35b3c29a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -136,7 +136,7 @@ void rip_peer_display(struct vty *vty, struct rip *rip)
char timebuf[RIP_UPTIME_LEN];
for (ALL_LIST_ELEMENTS(rip->peer_list, node, nnode, peer)) {
vty_out(vty, " %-16pI4 %9d %9d %9d %s\n",
vty_out(vty, " %-17pI4 %9d %9d %9d %11s\n",
&peer->addr, peer->recv_badpackets,
peer->recv_badroutes, ZEBRA_RIP_DISTANCE_DEFAULT,
rip_peer_uptime(peer, timebuf, RIP_UPTIME_LEN));

View File

@ -18,5 +18,5 @@ Routing Protocol is "rip"
r1-eth3
Routing Information Sources:
Gateway BadPackets BadRoutes Distance Last Update
193.1.1.2 0 0 120 XX:XX:XX
193.1.1.2 0 0 120 XX:XX:XX
Distance: (default is 120)

View File

@ -14,6 +14,6 @@ Routing Protocol is "rip"
193.1.2.0/24
Routing Information Sources:
Gateway BadPackets BadRoutes Distance Last Update
193.1.1.1 0 0 120 XX:XX:XX
193.1.2.2 0 0 120 XX:XX:XX
193.1.1.1 0 0 120 XX:XX:XX
193.1.2.2 0 0 120 XX:XX:XX
Distance: (default is 120)

View File

@ -12,5 +12,5 @@ Routing Protocol is "rip"
193.1.2.0/24
Routing Information Sources:
Gateway BadPackets BadRoutes Distance Last Update
193.1.2.1 0 0 120 XX:XX:XX
193.1.2.1 0 0 120 XX:XX:XX
Distance: (default is 120)