summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/command.h1
-rw-r--r--zebra/dplane_fpm_nl.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/command.h b/lib/command.h
index 6ab8497fe6..5629eb3679 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -149,6 +149,7 @@ enum node_type {
MPLS_NODE, /* MPLS config node */
PW_NODE, /* Pseudowire config node */
VTY_NODE, /* Vty node. */
+ FPM_NODE, /* Dataplane FPM node. */
LINK_PARAMS_NODE, /* Link-parameters node */
BGP_EVPN_VNI_NODE, /* BGP EVPN VNI */
RPKI_NODE, /* RPKI node for configuration of RPKI cache server
diff --git a/zebra/dplane_fpm_nl.c b/zebra/dplane_fpm_nl.c
index 0a827df141..0f77076c19 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,
};