diff options
author | Jan Maria Matejka <mq@ucw.cz> | 2018-04-27 14:38:41 +0200 |
---|---|---|
committer | Jan Maria Matejka <mq@ucw.cz> | 2018-04-27 14:38:41 +0200 |
commit | 823ad12191e66e243dd088a81c66e4a518563e40 (patch) | |
tree | 231e0f350a637c08cf5ed070f9b989f346013dc9 | |
parent | 4727d1db9d83a8f1025481cbcc06a7e4c8ec9f33 (diff) |
Filter: Added missing instruction comparators.
These instructions caused SIGABORTs on reconfiguration.
-rw-r--r-- | filter/filter.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/filter/filter.c b/filter/filter.c index bb3146e7..881ba420 100644 --- a/filter/filter.c +++ b/filter/filter.c @@ -1712,7 +1712,10 @@ i_same(struct f_inst *f1, struct f_inst *f2) case FI_EA_SET: ONEARG; A2_SAME; break; case FI_RETURN: ONEARG; break; + case FI_ROA_MAXLEN: ONEARG; break; + case FI_ROA_ASN: ONEARG; break; case FI_IP: ONEARG; break; + case FI_IS_V4: ONEARG; break; case FI_ROUTE_DISTINGUISHER: ONEARG; break; case FI_CALL: /* Call rewriting trickery to avoid exponential behaviour */ ONEARG; @@ -1735,6 +1738,8 @@ i_same(struct f_inst *f1, struct f_inst *f2) ((struct f_inst_roa_check *) f2)->rtc->name)) return 0; break; + case FI_FORMAT: ONEARG; break; + case FI_ASSERT: ONEARG; break; default: bug( "Unknown instruction %d in same (%c)", f1->fi_code, f1->fi_code & 0xff); } |