mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-09 09:47:11 +00:00
Merge pull request #6318 from opensourcerouting/fix-exit-vrf
lib: update the CLI xpath index when exiting from the VRF node
This commit is contained in:
commit
ba3f5f06d0
@ -726,7 +726,7 @@ DEFUN_NOSH(vrf_exit,
|
|||||||
{
|
{
|
||||||
/* We have to set vrf context to default vrf */
|
/* We have to set vrf context to default vrf */
|
||||||
VTY_PUSH_CONTEXT(VRF_NODE, vrf_get(VRF_DEFAULT, VRF_DEFAULT_NAME));
|
VTY_PUSH_CONTEXT(VRF_NODE, vrf_get(VRF_DEFAULT, VRF_DEFAULT_NAME));
|
||||||
vty->node = CONFIG_NODE;
|
cmd_exit(vty);
|
||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user