summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2021-11-29 08:37:02 +0100
committerGitHub <noreply@github.com>2021-11-29 08:37:02 +0100
commit77a16940e3403ce882b14c01cd44baba63bccbda (patch)
treef30e821dfe760f7e6cf36133c3b204ba28ca8976
parentcb3fa0a61242e542734362918e6afa974c00ce06 (diff)
parenteebb8260406049d9a6ab6c3a5c7522f11e9c17e1 (diff)
Merge pull request #10137 from idryzhov/vtysh-rpki
vtysh: add missing rpki node when showing config
-rw-r--r--vtysh/vtysh_config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vtysh/vtysh_config.c b/vtysh/vtysh_config.c
index 7d66319669..936cb70622 100644
--- a/vtysh/vtysh_config.c
+++ b/vtysh/vtysh_config.c
@@ -433,6 +433,8 @@ void vtysh_config_parse_line(void *arg, const char *line)
config = config_get(SEGMENT_ROUTING_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")) == 0