]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Don't display the vrf if not using namespace based vrfs
authorDonald Sharp <sharpd@nvidia.com>
Thu, 5 Sep 2024 13:11:04 +0000 (09:11 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 4 Nov 2024 17:14:47 +0000 (12:14 -0500)
commitf51d2a6b979a8c4efe9836f69767956c9e03322f
tree19c165e1baab3eb160d9334ef74c9d3dcc6b48ac
parent960462aadedbc921a80c20c231cfcf6e94b5a98b
zebra: Don't display the vrf if not using namespace based vrfs

Currently when doing a `show ip route table XXXX`, zebra is displaying
the current default vrf as the vrf we are in.  We are displaying a
table not a vrf.  This is only true if you are not using namespace
based vrf's, so modify the output to display accordingly.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/table_manager.h
zebra/zebra_vrf.c
zebra/zebra_vty.c