mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 14:33:09 +00:00
zebra: fix FPM node reusing VTY_NODE
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
f4b8291fcb
commit
893d8beb4d
@ -149,6 +149,7 @@ enum node_type {
|
|||||||
MPLS_NODE, /* MPLS config node */
|
MPLS_NODE, /* MPLS config node */
|
||||||
PW_NODE, /* Pseudowire config node */
|
PW_NODE, /* Pseudowire config node */
|
||||||
VTY_NODE, /* Vty node. */
|
VTY_NODE, /* Vty node. */
|
||||||
|
FPM_NODE, /* Dataplane FPM node. */
|
||||||
LINK_PARAMS_NODE, /* Link-parameters node */
|
LINK_PARAMS_NODE, /* Link-parameters node */
|
||||||
BGP_EVPN_VNI_NODE, /* BGP EVPN VNI */
|
BGP_EVPN_VNI_NODE, /* BGP EVPN VNI */
|
||||||
RPKI_NODE, /* RPKI node for configuration of RPKI cache server
|
RPKI_NODE, /* RPKI node for configuration of RPKI cache server
|
||||||
|
@ -369,7 +369,8 @@ static int fpm_write_config(struct vty *vty)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static struct cmd_node fpm_node = {
|
static struct cmd_node fpm_node = {
|
||||||
.node = VTY_NODE,
|
.name = "fpm",
|
||||||
|
.node = FPM_NODE,
|
||||||
.prompt = "",
|
.prompt = "",
|
||||||
.config_write = fpm_write_config,
|
.config_write = fpm_write_config,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user