]> git.puffer.fish Git - matthieu/frr.git/commit
lib: use hash for route-map set/match commands
authorDavid Lamparter <equinox@opensourcerouting.org>
Sat, 6 Nov 2021 15:57:52 +0000 (16:57 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 16 Nov 2021 17:51:22 +0000 (18:51 +0100)
commit88711d8a91333869e77b1e9abe0a39c48d5787c4
tree407a534512c3a352d18657698f4560b297d94984
parent067967b8c74820790fbc50f1fadd0b9ed35fa9c1
lib: use hash for route-map set/match commands

Why would this be in a vector to loop over with strcmp()'ing each
item...  that just makes no sense.  Use a hash instead.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/routemap.c
lib/routemap.h