mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 19:43:29 +00:00
vtysh: Allow eigrp and rip access to keychain.c config
The key-chain code was specific to rip and as such was not being delivered to eigrp. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
82d6d6e9be
commit
3a3a24c869
@ -85,7 +85,7 @@ sub scan_file {
|
||||
|
||||
# $protocol is VTYSH_PROTO format for redirection of user input
|
||||
if ($file =~ /lib\/keychain\.c$/) {
|
||||
$protocol = "VTYSH_RIPD";
|
||||
$protocol = "VTYSH_RIPD|VTYSH_EIGRPD";
|
||||
}
|
||||
elsif ($file =~ /lib\/routemap\.c$/) {
|
||||
$protocol = "VTYSH_RMAP";
|
||||
|
@ -1502,7 +1502,7 @@ DEFUNSH(VTYSH_BGPD, vnc_l2_group, vnc_l2_group_cmd, "vnc l2-group NAME",
|
||||
}
|
||||
#endif
|
||||
|
||||
DEFUNSH(VTYSH_RIPD, key_chain, key_chain_cmd, "key chain WORD",
|
||||
DEFUNSH(VTYSH_KEYS, key_chain, key_chain_cmd, "key chain WORD",
|
||||
"Authentication key management\n"
|
||||
"Key-chain management\n"
|
||||
"Key-chain name\n")
|
||||
@ -1511,7 +1511,7 @@ DEFUNSH(VTYSH_RIPD, key_chain, key_chain_cmd, "key chain WORD",
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
DEFUNSH(VTYSH_RIPD, key, key_cmd, "key (0-2147483647)",
|
||||
DEFUNSH(VTYSH_KEYS, key, key_cmd, "key (0-2147483647)",
|
||||
"Configure a key\n"
|
||||
"Key identifier number\n")
|
||||
{
|
||||
|
@ -55,6 +55,7 @@ DECLARE_MGROUP(MVTYSH)
|
||||
#define VTYSH_INTERFACE VTYSH_ZEBRA|VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_ISISD|VTYSH_PIMD|VTYSH_NHRPD|VTYSH_EIGRPD|VTYSH_BABELD|VTYSH_PBRD|VTYSH_FABRICD
|
||||
#define VTYSH_NS VTYSH_ZEBRA
|
||||
#define VTYSH_VRF VTYSH_ZEBRA|VTYSH_PIMD|VTYSH_STATICD
|
||||
#define VTYSH_KEYS VTYSH_RIPD|VTYSH_EIGRPD
|
||||
|
||||
enum vtysh_write_integrated {
|
||||
WRITE_INTEGRATED_UNSPECIFIED,
|
||||
|
Loading…
Reference in New Issue
Block a user