diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2021-07-21 19:20:07 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-21 19:20:07 -0400 |
| commit | 9a549c4fbf8d7c43339e20bf0a37ce8ff1594160 (patch) | |
| tree | 6b476faeb4e69debdbccbd9d0bca49dfdb11ef50 /lib/command.c | |
| parent | c12647b9907d12831c64e22195f5de5a07a56e45 (diff) | |
| parent | d9331fc67c3c68302930f64fada992512e18f7d2 (diff) | |
Merge pull request #9105 from idryzhov/vtysh-ls-pw
vtysh, lib, zebra: fix exit from link-params and pseudowire nodes
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c index 9dac60599c..fe17c68a8b 100644 --- a/lib/command.c +++ b/lib/command.c @@ -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; } |
