From 34f6bdbe910844776ab12d6ddf275934c8fcf6a9 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Tue, 3 Apr 2018 15:13:07 +0200 Subject: [PATCH] bgpd: `logical-router` netns vtysh configuration comparison incorrect `logical-router` netns vtysh configuration comparison incorrect Signed-off-by: Philippe Guibert --- vtysh/vtysh_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vtysh/vtysh_config.c b/vtysh/vtysh_config.c index b7e50ca5b8..e94bd139e5 100644 --- a/vtysh/vtysh_config.c +++ b/vtysh/vtysh_config.c @@ -201,7 +201,7 @@ void vtysh_config_parse_line(void *arg, const char *line) config = config_get(INTERFACE_NODE, line); else if (strncmp(line, "pseudowire", strlen("pseudowire")) == 0) config = config_get(PW_NODE, line); - else if (strncmp(line, "logical-router", strlen("ns")) == 0) + else if (strncmp(line, "logical-router", strlen("logical-router")) == 0) config = config_get(LOGICALROUTER_NODE, line); else if (strncmp(line, "vrf", strlen("vrf")) == 0) config = config_get(VRF_NODE, line); -- 2.39.5