mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 10:14:50 +00:00
lib, vtysh: bgp rpki constistent changes with rpki_node
rpki_node is a node under configure terminal. as such, align with other nodes that are similar. Note that this change is important, since the location where show running-config from vtysh displays rpki configuration is changed in the middle of the configuration instead of at the top, before authentication. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
38bf60cb23
commit
dde9d0e43b
@ -402,6 +402,8 @@ void vtysh_config_parse_line(void *arg, const char *line)
|
||||
config = config_get(MPLS_NODE, line);
|
||||
else if (strncmp(line, "bfd", strlen("bfd")) == 0)
|
||||
config = config_get(BFD_NODE, line);
|
||||
else if (strncmp(line, "rpki", strlen("rpki")) == 0)
|
||||
config = config_get(RPKI_NODE, line);
|
||||
else {
|
||||
if (strncmp(line, "log", strlen("log")) == 0
|
||||
|| strncmp(line, "hostname", strlen("hostname"))
|
||||
|
Loading…
Reference in New Issue
Block a user