From: Philippe Guibert Date: Wed, 15 Apr 2020 08:22:32 +0000 (+0200) Subject: zebra: permit usage of show nexthop-group with namespace based vrfs X-Git-Tag: base_7.5~379^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F6227%2Fhead;p=mirror%2Ffrr.git zebra: permit usage of show nexthop-group with namespace based vrfs namespace based vrfs can be used along with show nexthop-group command. Signed-off-by: Philippe Guibert --- diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index ef3dc9808f..0d190d441b 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -1348,8 +1348,9 @@ DEFPY (show_nexthop_group, else if (v6) afi = AFI_IP6; - if (vrf_is_backend_netns() && (vrf_name || vrf_all)) { - vty_out(vty, "VRF subcommand does not make any sense in l3mdev based vrf's"); + if (!vrf_is_backend_netns() && (vrf_name || vrf_all)) { + vty_out(vty, + "VRF subcommand does not make any sense in l3mdev based vrf's\n"); return CMD_WARNING; }