Merge pull request #2016 from pguibert6WIND/issue_2000

bgpd: `logical-router` netns vtysh configuration comparison incorrect
This commit is contained in:
Quentin Young 2018-04-03 11:14:04 -04:00 committed by GitHub
commit 4eb81e58d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);