]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Filter: Fix missing case for !~ operator
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 24 Jan 2017 14:35:38 +0000 (15:35 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 24 Jan 2017 14:35:38 +0000 (15:35 +0100)
Thanks to Vincent Bernat for the patch.

filter/filter.c

index 85a0625860896637bd6f926aa20dd19e00d854f2..f18970e05939d78fa22c8032768b796600280ee0 100644 (file)
@@ -1559,6 +1559,7 @@ i_same(struct f_inst *f1, struct f_inst *f2)
   case P('<','='): TWOARGS; break;
 
   case '!': ONEARG; break;
+  case P('!', '~'):
   case '~': TWOARGS; break;
   case P('d','e'): ONEARG; break;