summaryrefslogtreecommitdiffstats
path: root/vtysh/vtysh_config.c
diff options
context:
space:
mode:
authorNigel Kukard <nkukard@lbsd.net>2017-08-28 20:35:15 +0200
committerNigel Kukard <nkukard@lbsd.net>2017-08-28 21:27:23 +0200
commit344d9016be4051bedd0b87240edf7d8d70c7cd7e (patch)
treebeea638ec3b8a1bc877645e7ed2006daf76059bb /vtysh/vtysh_config.c
parentMerge pull request #1054 from dslicenc/eigrp-connected (diff)
downloadfrr-344d9016be4051bedd0b87240edf7d8d70c7cd7e.tar.xz
frr-344d9016be4051bedd0b87240edf7d8d70c7cd7e.zip
vtysh: Fix for the ordering of large-community lists in config output
Signed-off-by: Nigel Kukard <nkukard@lbsd.net>
Diffstat (limited to '')
-rw-r--r--vtysh/vtysh_config.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/vtysh/vtysh_config.c b/vtysh/vtysh_config.c
index c561b5222..58772ec54 100644
--- a/vtysh/vtysh_config.c
+++ b/vtysh/vtysh_config.c
@@ -245,7 +245,10 @@ void vtysh_config_parse_line(void *arg, const char *line)
== 0
|| strncmp(line, "ip extcommunity-list",
strlen("ip extcommunity-list"))
- == 0)
+ == 0
+ || strncmp(line, "ip large-community-list",
+ strlen("ip large-community-list"))
+ == 0)
config = config_get(COMMUNITY_LIST_NODE, line);
else if (strncmp(line, "ip route", strlen("ip route")) == 0)
config = config_get(IP_NODE, line);