summaryrefslogtreecommitdiffstats
path: root/vtysh/vtysh_config.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2019-08-06 16:45:56 +0200
committerGitHub <noreply@github.com>2019-08-06 16:45:56 +0200
commitc8ec87df6e2bc4de3988bd540d369d3589bdeab6 (patch)
treef963fbb2e12512e142a63582a418508431c43693 /vtysh/vtysh_config.c
parentMerge pull request #4776 from pogojotz/write-config-fix (diff)
parentall: remove logical-router functionality (diff)
downloadfrr-c8ec87df6e2bc4de3988bd540d369d3589bdeab6.tar.xz
frr-c8ec87df6e2bc4de3988bd540d369d3589bdeab6.zip
all: remove logical-router functionality (#4774)
all: remove logical-router functionality
Diffstat (limited to 'vtysh/vtysh_config.c')
-rw-r--r--vtysh/vtysh_config.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/vtysh/vtysh_config.c b/vtysh/vtysh_config.c
index c8ecb12fe..3ec2eb239 100644
--- a/vtysh/vtysh_config.c
+++ b/vtysh/vtysh_config.c
@@ -264,7 +264,6 @@ void vtysh_config_parse_line(void *arg, const char *line)
config_add_line(config->line, line);
} else if (config->index == RMAP_NODE
|| config->index == INTERFACE_NODE
- || config->index == LOGICALROUTER_NODE
|| config->index == VTY_NODE
|| config->index == VRF_NODE
|| config->index == NH_GROUP_NODE)
@@ -279,8 +278,6 @@ 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("logical-router")) == 0)
- config = config_get(LOGICALROUTER_NODE, line);
else if (strncmp(line, "vrf", strlen("vrf")) == 0)
config = config_get(VRF_NODE, line);
else if (strncmp(line, "nexthop-group", strlen("nexthop-group"))