mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 16:20:08 +00:00
Merge pull request #13327 from opensourcerouting/fix/rip_status_align
ripd: Align show ip rip status output for sources
This commit is contained in:
commit
de35b3c29a
@ -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));
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user