]> git.puffer.fish Git - matthieu/frr.git/commit
vtysh: remove sorting of vrf node commands
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 15 Sep 2021 15:22:47 +0000 (18:22 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Mon, 20 Sep 2021 18:18:17 +0000 (21:18 +0300)
commitd98d4a1e7d92d97920d28a2bfb3b8b831bcadee6
tree6ebdfce126a8a7a78aeda7437d1ae8ad9c647c16
parent598553e34fa61116694e9f3a1b6f1f72c3ac281c
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>
vtysh/vtysh_config.c