mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 20:51:17 +00:00
Merge pull request #7510 from donaldsharp/xpath_stay
lib: Fix crash walking up command chain in bgp commands
This commit is contained in:
commit
9ccd17bc12
@ -154,7 +154,8 @@ static bool vty_check_node_for_xpath_decrement(enum node_type target_node,
|
||||
|| node == BGP_IPV4M_NODE || node == BGP_IPV6M_NODE
|
||||
|| node == BGP_VPNV4_NODE || node == BGP_VPNV6_NODE
|
||||
|| node == BGP_EVPN_NODE || node == BGP_IPV4L_NODE
|
||||
|| node == BGP_IPV6L_NODE ))
|
||||
|| node == BGP_IPV6L_NODE || node == BGP_FLOWSPECV4_NODE
|
||||
|| node == BGP_FLOWSPECV6_NODE))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user