diff options
author | anlan_cs <vic.lan@pica8.com> | 2024-06-16 07:20:00 +0200 |
---|---|---|
committer | anlan_cs <vic.lan@pica8.com> | 2024-07-05 03:31:39 +0200 |
commit | 2aa27ac0e935286ef8ee1f3d8f3dd12960683810 (patch) | |
tree | 0523cb6f70eede32cc0fc0b94985b50915052145 | |
parent | Merge pull request #16333 from opensourcerouting/fix/nits (diff) | |
download | frr-2aa27ac0e935286ef8ee1f3d8f3dd12960683810.tar.xz frr-2aa27ac0e935286ef8ee1f3d8f3dd12960683810.zip |
ripngd: adjust header for display command
Both rip and ripng can import routes from other protocols, e.g. ISIS.
But their header doesn't list the description for these abbreviations.
Adjust `show ipv6 ripng` 's header for display command.
Before:
```
Codes: R - RIPng, C - connected, S - Static, O - OSPF, B - BGP
Sub-codes:
```
After:
```
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:
```
Signed-off-by: anlan_cs <vic.lan@pica8.com>
-rw-r--r-- | ripngd/ripngd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c index f4dadf377..0aa2a9e48 100644 --- a/ripngd/ripngd.c +++ b/ripngd/ripngd.c @@ -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" |