summaryrefslogtreecommitdiff
path: root/zebra/interface.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2021-11-06 21:10:41 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2021-11-16 18:51:22 +0100
commitdd2c81b8c09ac8c27ca909cf16640815941df31e (patch)
tree81e786dce10fed153cfec605c5f6cf98c98e39ec /zebra/interface.c
parent88711d8a91333869e77b1e9abe0a39c48d5787c4 (diff)
lib: rework vty_check_node_for_xpath_decrement
...by having a flag in struct cmd_node rather than hardcoding it in `lib/command.c`. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/interface.c')
-rw-r--r--zebra/interface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index 49a1e49175..c5fe5f3949 100644
--- a/zebra/interface.c
+++ b/zebra/interface.c
@@ -2905,6 +2905,7 @@ struct cmd_node link_params_node = {
.node = LINK_PARAMS_NODE,
.parent_node = INTERFACE_NODE,
.prompt = "%s(config-link-params)# ",
+ .no_xpath = true,
};
static void link_param_cmd_set_uint32(struct interface *ifp, uint32_t *field,