From dde9d0e43b1415e126412d493ade174ee2b6edde Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Fri, 20 Sep 2019 12:05:45 +0200 Subject: [PATCH] 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 --- vtysh/vtysh_config.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vtysh/vtysh_config.c b/vtysh/vtysh_config.c index abbb111f9d..44ec08b61a 100644 --- a/vtysh/vtysh_config.c +++ b/vtysh/vtysh_config.c @@ -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"))