mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 20:13:53 +00:00
vtysh: Fix for the ordering of large-community lists in config output
Signed-off-by: Nigel Kukard <nkukard@lbsd.net>
This commit is contained in:
parent
3df31ebb03
commit
344d9016be
@ -245,7 +245,10 @@ void vtysh_config_parse_line(void *arg, const char *line)
|
|||||||
== 0
|
== 0
|
||||||
|| strncmp(line, "ip extcommunity-list",
|
|| strncmp(line, "ip extcommunity-list",
|
||||||
strlen("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);
|
config = config_get(COMMUNITY_LIST_NODE, line);
|
||||||
else if (strncmp(line, "ip route", strlen("ip route")) == 0)
|
else if (strncmp(line, "ip route", strlen("ip route")) == 0)
|
||||||
config = config_get(IP_NODE, line);
|
config = config_get(IP_NODE, line);
|
||||||
|
Loading…
Reference in New Issue
Block a user