]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: discard traffic when at least traffic-rate 0 is observed
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 6 Jun 2019 15:14:36 +0000 (17:14 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 8 Jul 2019 06:36:45 +0000 (08:36 +0200)
commit46b890002f63c12d1dd3c324da66397e6f5a8bf1
tree5f9c9353c0425ab9f7eafdc0e54b3832e2ad5f93
parentf449d22396d770330906d860f496a830117f2789
bgpd: discard traffic when at least traffic-rate 0 is observed

when multiple action rules are analysed in the BGP flowspec entry, if at
least the traffic-rate set to 0 is seen, then immediately create a rule
with drop rule. Previously this was not the case in case a forwarding
rule was seen.

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