fib: fix `show ip fib memory` output error 61/41861/2
authorJay Wang <[email protected]>
Tue, 12 Nov 2024 10:20:39 +0000 (10:20 +0000)
committerNeale Ranns <[email protected]>
Thu, 21 Nov 2024 20:53:36 +0000 (20:53 +0000)
commit030a5436da0a55f9344fb32df89336c3990e4d28
treec6e1cb390e80d1ec7be7f00a12717dab6ee9d840
parentff36307b5b9ce6e3d1d56aff8b6c6097ab1e0b6d
fib: fix `show ip fib memory` output error

Put `memory` before `mem` when parsing `show ip fib` CLI command to
avoid the following annoying output error.

vpp# show ip fib memory
ipv4-VRF:0 mtrie:343808 hash:4687
totals: mtrie:343808 hash:4687 all:348495
unknown input `ory'

Type: fix
Signed-off-by: Jay Wang <[email protected]>
Change-Id: I5f990243309d6e6ea339e8442f5e68ae90a98814
src/vnet/fib/ip4_fib.c