Filter: Added missing instruction comparators.
These instructions caused SIGABORTs on reconfiguration.
This commit is contained in:
parent
4727d1db9d
commit
823ad12191
1 changed files with 5 additions and 0 deletions
|
@ -1712,7 +1712,10 @@ i_same(struct f_inst *f1, struct f_inst *f2)
|
||||||
case FI_EA_SET: ONEARG; A2_SAME; break;
|
case FI_EA_SET: ONEARG; A2_SAME; break;
|
||||||
|
|
||||||
case FI_RETURN: ONEARG; 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_IP: ONEARG; break;
|
||||||
|
case FI_IS_V4: ONEARG; break;
|
||||||
case FI_ROUTE_DISTINGUISHER: ONEARG; break;
|
case FI_ROUTE_DISTINGUISHER: ONEARG; break;
|
||||||
case FI_CALL: /* Call rewriting trickery to avoid exponential behaviour */
|
case FI_CALL: /* Call rewriting trickery to avoid exponential behaviour */
|
||||||
ONEARG;
|
ONEARG;
|
||||||
|
@ -1735,6 +1738,8 @@ i_same(struct f_inst *f1, struct f_inst *f2)
|
||||||
((struct f_inst_roa_check *) f2)->rtc->name))
|
((struct f_inst_roa_check *) f2)->rtc->name))
|
||||||
return 0;
|
return 0;
|
||||||
break;
|
break;
|
||||||
|
case FI_FORMAT: ONEARG; break;
|
||||||
|
case FI_ASSERT: ONEARG; break;
|
||||||
default:
|
default:
|
||||||
bug( "Unknown instruction %d in same (%c)", f1->fi_code, f1->fi_code & 0xff);
|
bug( "Unknown instruction %d in same (%c)", f1->fi_code, f1->fi_code & 0xff);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue