]> git.ipfire.org Git - thirdparty/bird.git/commit
Flowspec: Do not use comma for bitmask operators
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 18 May 2021 17:54:18 +0000 (19:54 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 18 May 2021 17:54:18 +0000 (19:54 +0200)
commitdd8481cc1c92af32ec69cded42b985b7bad40b26
tree3ff60df9e9c75dc61b3d0ca6857c3b2205ddf1db
parente5468d16855600aeb8172e29936789c46ea58da0
Flowspec: Do not use comma for bitmask operators

For numeric operators, comma is used for disjunction in expressions like
"10, 20, 30..40". But for bitmask operators, comma is used for
conjunction in a way that does not really make much sense. Use always
explicit logical operators (&& and ||) to connect bitmask operators.

Thanks to Matt Corallo for the bugreport.
doc/bird.sgml
filter/test.conf
lib/flowspec.c
lib/flowspec_test.c