mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 18:42:23 +00:00
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 <philippe.guibert@6wind.com>
This commit is contained in:
parent
82d86ab5b9
commit
2f90b900c8
@ -1348,8 +1348,9 @@ DEFPY (show_nexthop_group,
|
|||||||
else if (v6)
|
else if (v6)
|
||||||
afi = AFI_IP6;
|
afi = AFI_IP6;
|
||||||
|
|
||||||
if (vrf_is_backend_netns() && (vrf_name || vrf_all)) {
|
if (!vrf_is_backend_netns() && (vrf_name || vrf_all)) {
|
||||||
vty_out(vty, "VRF subcommand does not make any sense in l3mdev based vrf's");
|
vty_out(vty,
|
||||||
|
"VRF subcommand does not make any sense in l3mdev based vrf's\n");
|
||||||
return CMD_WARNING;
|
return CMD_WARNING;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user