mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-02 15:13:20 +00:00
lib, zebra: fix exit from link-params node
When exiting from link-params node, we must not decrement xpath_index because it is not incremented when entering the node. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
parent
92de4c7fb6
commit
d9331fc67c
@ -160,6 +160,9 @@ static bool vty_check_node_for_xpath_decrement(enum node_type target_node,
|
||||
|| node == BGP_FLOWSPECV6_NODE))
|
||||
return false;
|
||||
|
||||
if (target_node == INTERFACE_NODE && node == LINK_PARAMS_NODE)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user