From 344d9016be4051bedd0b87240edf7d8d70c7cd7e Mon Sep 17 00:00:00 2001 From: Nigel Kukard Date: Mon, 28 Aug 2017 18:35:15 +0000 Subject: [PATCH] vtysh: Fix for the ordering of large-community lists in config output Signed-off-by: Nigel Kukard --- vtysh/vtysh_config.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vtysh/vtysh_config.c b/vtysh/vtysh_config.c index c561b5222f..58772ec549 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); -- 2.39.5