summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2018-11-27 13:35:28 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2018-11-30 15:32:13 +0100
commit4c2876fb8d61cd3e2bf9668fdc10bd30140ef3af (patch)
treefb87d85549d8d6bf4e2f7d25148d3f417cdec84a /lib/command_py.c
parentf17b99ed1709c8e6cc940d3dbad737d3be21ddc4 (diff)
bgpd: bgp pbr ignores bgp fs entries with 0.0.0.0 ips written.
when converting bgp fs entries to bgp pbr entries, the fields of the flowspec are analysed. In the case src ip or dst ip is set to 0.0.0.0, that field is ignored, thus preventing from injecting a rule that can not be injected into the pbr. This can be done by avoiding mentioning the field in the bitmask structure used to convert data to pbr entries. PR=61620 Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com> Acked-by: Emmanuel Vize <emmanuel.vize@6wind.com>
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions