]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_pbr.c
bgpd: flush remaining entry if bgp_pbr_match is equal
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 2 Jul 2018 14:50:36 +0000 (16:50 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 24 Jul 2018 10:17:57 +0000 (12:17 +0200)
commit836b6953b457860eb0e7d5823dc713321d1d7ee7
treeef9a46b3a6135666417f6371243498618b9b7a4e
parent9717d3e5b882b969d7d803fb13e20e8e44643824
bgpd: flush remaining entry if bgp_pbr_match is equal

When adding an entry, a check is done in order to flush previously
configured entries. The whole parameters are checked so as to not remove
some entries that have ipset entries equal, but not iptable settings.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_pbr.c