mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
vtysh: fix VTYSH_VRF definition
VTYSH_VRF is a collection of daemon flags, not node flags. The current code works only because RPKI_VRF_NODE is 1100101 in binary, which accidentally includes VTYSH_BGPD which is actually needed. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
parent
22d1ad786f
commit
664d14eadb
|
@ -58,7 +58,7 @@ extern struct event_loop *master;
|
|||
VTYSH_EIGRPD | VTYSH_BABELD | VTYSH_PBRD | VTYSH_FABRICD | \
|
||||
VTYSH_VRRPD | VTYSH_MGMTD
|
||||
#define VTYSH_INTERFACE VTYSH_INTERFACE_SUBSET | VTYSH_BGPD
|
||||
#define VTYSH_VRF VTYSH_INTERFACE_SUBSET | RPKI_VRF_NODE
|
||||
#define VTYSH_VRF VTYSH_INTERFACE_SUBSET | VTYSH_BGPD
|
||||
#define VTYSH_KEYS VTYSH_RIPD | VTYSH_EIGRPD | VTYSH_OSPF6D | VTYSH_OSPFD
|
||||
/* Daemons who can process nexthop-group configs */
|
||||
#define VTYSH_NH_GROUP VTYSH_PBRD|VTYSH_SHARPD
|
||||
|
|
Loading…
Reference in a new issue