diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2024-01-23 00:17:26 +0200 | 
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2024-01-23 00:17:26 +0200 | 
| commit | 664d14eadbc18cc711177ad72412b1cb827d64b6 (patch) | |
| tree | a537d5ea79ebbab75d25f7e6b8cf0a11409f97a3 /vtysh | |
| parent | 22d1ad786f6961bf4f685599b5fb16a84b802346 (diff) | |
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>
Diffstat (limited to 'vtysh')
| -rw-r--r-- | vtysh/vtysh.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/vtysh.h b/vtysh/vtysh.h index f63d4be6ee..6bc0c5e2c5 100644 --- a/vtysh/vtysh.h +++ b/vtysh/vtysh.h @@ -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  | 
