From: Vincent Bernat <vinc...@bernat.im>

When BIRD compares a filter using the `!~`, we get:

    Unknown instruction 8574 in same (~)

This is due to the missing case for the `!~` operator. Add it.
---
 filter/filter.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/filter/filter.c b/filter/filter.c
index 85a062586089..f18970e05939 100644
--- a/filter/filter.c
+++ b/filter/filter.c
@@ -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;
 
-- 
2.11.0

Reply via email to