summaryrefslogtreecommitdiff
path: root/lib/filter_cli.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-06-30 08:59:46 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-06-30 08:59:46 -0400
commit703dc64cd0c598efc6f538adfdac749de8868272 (patch)
tree9a263794e9b90f75ec187ebc8505a8c7bc623d7d /lib/filter_cli.c
parent87b42ba8c39aede02817b2e490620ceb924265ac (diff)
vtysh: master is a non-sorted list
The commit: a798241265a5808083a06b14ce1637d1ddf6a45a attempted to use sorted master lists to do faster lookups by using a RB Tree. Unfortunately the original code was creating a list->cmp function *but* never using it. If you look at the commit, it clearly shows that the function listnode_add is used to insert but when you look at that function it is a tail push. Fixes: #6573 Namely now this ordering is preserved: bgp as-path access-list originate-only permit ^$ bgp as-path access-list originate-only deny .* Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/filter_cli.c')
0 files changed, 0 insertions, 0 deletions