mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 09:56:05 +00:00
vtysh: remove sorting of vrf node commands
A simple strcmp-based sorting done by `config_add_line_uniq` breaks the correct advanced sorting of static routes done by staticd. We don't actually need to check vrf node commands for uniqueness as all commands are daemon specific, so let's use simple `config_add_line` that doesn't sort commands. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
parent
598553e34f
commit
d98d4a1e7d
@ -286,7 +286,6 @@ void vtysh_config_parse_line(void *arg, const char *line)
|
||||
} else if (config->index == RMAP_NODE
|
||||
|| config->index == INTERFACE_NODE
|
||||
|| config->index == VTY_NODE
|
||||
|| config->index == VRF_NODE
|
||||
|| config->index == NH_GROUP_NODE)
|
||||
config_add_line_uniq(config->line, line);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user