]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_routemap.c
lib: rmap dep table is not correct in case of exact-match clause
authorvdhingra <vdhingra@vmware.com>
Tue, 27 Aug 2019 10:45:54 +0000 (03:45 -0700)
committervdhingra <vdhingra@vmware.com>
Sun, 15 Sep 2019 12:45:27 +0000 (05:45 -0700)
commit909f3d56aef817208942635fc843b148edb5f38e
tree2c7cab8da59fd02a4dc3c4cbb698a0ed06082760
parent90316c973f541412a23995894b80621a421bed33
lib: rmap dep table is not correct in case of exact-match clause

User pass the string match large-community 1 exact-match from CLI.
Now route map lib has got the string as "1 exact-match". It passes the string
to call back for compilation. BGP will parse this string and came to know
that for "1" it has to do exact match. Routemap lib has to save "1" in it’s
dependency table. Here routemap is saving this as a “1 exact-match”
which is wrong. The solution is used the compiled data.

Signed-off-by: vishaldhingra <vdhingra@vmware.com>
bgpd/bgp_routemap.c
bgpd/bgp_rpki.c
eigrpd/eigrp_routemap.c
lib/routemap.c
lib/routemap.h
ospf6d/ospf6_asbr.c
zebra/zebra_routemap.c