diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-11-16 10:06:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-16 10:06:08 +0200 |
| commit | 9ccd17bc12bb3ef7b16c62cfa638346c0299eadd (patch) | |
| tree | b2ef48142a6e85a5ad5c86f1cc2004451157d19b /lib/command.c | |
| parent | 9d96143b50f04713af24eef8cfd9f2652fc512e9 (diff) | |
| parent | 1e93fbed31135fc7f2857542d1a8574f9351768a (diff) | |
Merge pull request #7510 from donaldsharp/xpath_stay
lib: Fix crash walking up command chain in bgp commands
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c index 7d335e1c36..87110157f6 100644 --- a/lib/command.c +++ b/lib/command.c @@ -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; |
