Skip to content

Commit

Permalink
Merge pull request FRRouting#16229 from anlancs/ripd/fix-header-show
Browse files Browse the repository at this point in the history
ripd/ripngd: use common header for display command
  • Loading branch information
riw777 authored Jul 9, 2024
2 parents 7d08b29 + b707ed8 commit 52376aa
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 8 deletions.
5 changes: 4 additions & 1 deletion ripd/ripd.c
Original file line number Diff line number Diff line change
Expand Up @@ -3054,7 +3054,10 @@ DEFUN (show_ip_rip,
}

vty_out(vty,
"Codes: R - RIP, C - connected, S - Static, O - OSPF, B - BGP\n"
"Codes: K - kernel route, C - connected, L - local, S - static,\n"
" R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,\n"
" T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,\n"
" f - OpenFabric, t - Table-Direct\n"
"Sub-codes:\n"
" (n) - normal, (s) - static, (d) - default, (r) - redistribute,\n"
" (i) - interface\n\n"
Expand Down
5 changes: 4 additions & 1 deletion ripngd/ripngd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2070,7 +2070,10 @@ DEFUN (show_ipv6_ripng,

/* Header of display. */
vty_out(vty,
"Codes: R - RIPng, C - connected, S - Static, O - OSPF, B - BGP\n"
"Codes: K - kernel route, C - connected, L - local, S - static,\n"
" R - RIPng, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,\n"
" T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,\n"
" f - OpenFabric, t - Table-Direct\n"
"Sub-codes:\n"
" (n) - normal, (s) - static, (d) - default, (r) - redistribute,\n"
" (i) - interface, (a/S) - aggregated/Suppressed\n\n"
Expand Down
5 changes: 4 additions & 1 deletion tests/topotests/rip_topo1/r1/show_ip_rip.ref
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
Codes: R - RIP, C - connected, S - Static, O - OSPF, B - BGP
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct
Sub-codes:
(n) - normal, (s) - static, (d) - default, (r) - redistribute,
(i) - interface
Expand Down
5 changes: 4 additions & 1 deletion tests/topotests/rip_topo1/r2/show_ip_rip.ref
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
Codes: R - RIP, C - connected, S - Static, O - OSPF, B - BGP
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct
Sub-codes:
(n) - normal, (s) - static, (d) - default, (r) - redistribute,
(i) - interface
Expand Down
5 changes: 4 additions & 1 deletion tests/topotests/rip_topo1/r3/show_ip_rip.ref
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
Codes: R - RIP, C - connected, S - Static, O - OSPF, B - BGP
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct
Sub-codes:
(n) - normal, (s) - static, (d) - default, (r) - redistribute,
(i) - interface
Expand Down
5 changes: 4 additions & 1 deletion tests/topotests/ripng_topo1/r1/show_ipv6_ripng.ref
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
Codes: R - RIPng, C - connected, S - Static, O - OSPF, B - BGP
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIPng, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct
Sub-codes:
(n) - normal, (s) - static, (d) - default, (r) - redistribute,
(i) - interface, (a/S) - aggregated/Suppressed
Expand Down
5 changes: 4 additions & 1 deletion tests/topotests/ripng_topo1/r2/show_ipv6_ripng.ref
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
Codes: R - RIPng, C - connected, S - Static, O - OSPF, B - BGP
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIPng, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct
Sub-codes:
(n) - normal, (s) - static, (d) - default, (r) - redistribute,
(i) - interface, (a/S) - aggregated/Suppressed
Expand Down
5 changes: 4 additions & 1 deletion tests/topotests/ripng_topo1/r3/show_ipv6_ripng.ref
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
Codes: R - RIPng, C - connected, S - Static, O - OSPF, B - BGP
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIPng, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct
Sub-codes:
(n) - normal, (s) - static, (d) - default, (r) - redistribute,
(i) - interface, (a/S) - aggregated/Suppressed
Expand Down

0 comments on commit 52376aa

Please sign in to comment.