From: Nigel Kukard Date: Mon, 28 Aug 2017 18:35:15 +0000 (+0000) Subject: vtysh: Fix for the ordering of large-community lists in config output X-Git-Tag: frr-4.0-dev~368^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F1066%2Fhead;p=mirror%2Ffrr.git vtysh: Fix for the ordering of large-community lists in config output Signed-off-by: Nigel Kukard --- 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);