]> git.puffer.fish Git - mirror/frr.git/commit
ripngd: adjust header for display command
authoranlan_cs <vic.lan@pica8.com>
Sun, 16 Jun 2024 05:20:00 +0000 (13:20 +0800)
committeranlan_cs <vic.lan@pica8.com>
Fri, 5 Jul 2024 01:31:39 +0000 (09:31 +0800)
commit2aa27ac0e935286ef8ee1f3d8f3dd12960683810
tree0523cb6f70eede32cc0fc0b94985b50915052145
parentd4758b3ccc76c77d0b8ba255089f79e67379bb30
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>
ripngd/ripngd.c