summaryrefslogtreecommitdiffstats
path: root/zebra
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2020-04-15 12:26:01 +0200
committerDavid Lamparter <equinox@diac24.net>2020-04-16 12:54:03 +0200
commit893d8beb4d1ae92b7c3290aad163e65aa0675a5c (patch)
tree454914c5f55594bf91124ef69a6d5d7a61f81da9 /zebra
parent*: move CLI node names to cmd_node->name (diff)
downloadfrr-893d8beb4d1ae92b7c3290aad163e65aa0675a5c.tar.xz
frr-893d8beb4d1ae92b7c3290aad163e65aa0675a5c.zip
zebra: fix FPM node reusing VTY_NODE
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra')
-rw-r--r--zebra/dplane_fpm_nl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/dplane_fpm_nl.c b/zebra/dplane_fpm_nl.c
index 0a827df14..0f77076c1 100644
--- a/zebra/dplane_fpm_nl.c
+++ b/zebra/dplane_fpm_nl.c
@@ -369,7 +369,8 @@ static int fpm_write_config(struct vty *vty)
}
static struct cmd_node fpm_node = {
- .node = VTY_NODE,
+ .name = "fpm",
+ .node = FPM_NODE,
.prompt = "",
.config_write = fpm_write_config,
};