mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-21 08:01:13 +00:00
vtysh: fix ldpd vtysh
ldpd needs a special case to execute the correct exit command for walkup when using vtysh Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
dbb3cdb601
commit
f14b7abf4f
@ -324,7 +324,11 @@ vtysh_execute_func (const char *line, int pager)
|
||||
{
|
||||
vtysh_execute("exit-vnc");
|
||||
}
|
||||
else if ((saved_node == KEYCHAIN_KEY_NODE) && (tried == 1))
|
||||
else if ((saved_node == KEYCHAIN_KEY_NODE
|
||||
|| saved_node == LDP_PSEUDOWIRE_NODE
|
||||
|| saved_node == LDP_IPV4_IFACE_NODE
|
||||
|| saved_node == LDP_IPV6_IFACE_NODE)
|
||||
&& (tried == 1))
|
||||
{
|
||||
vtysh_execute("exit");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user