[PATCH 07/12] Introduce try ... catch statement to handle filter runtime errors.
Sergey Popovich
popovich_sergei at mail.ru
Thu Oct 3 13:27:29 CEST 2013
В письме от 30 сентября 2013 21:33:45 пользователь Sergey Popovich написал:
-----------
@@ -1453,6 +1459,7 @@ i_same(struct f_inst *f1, struct f_inst *f2)
if (strcmp(((struct f_inst_roa_check *) f1)->rtc->name,
((struct f_inst_roa_check *) f2)->rtc->name))
return 0;
+ case P('T','C'): TWOARGS; break;
break;
default:
bug( "Unknown instruction %d in same (%c)", f1->code, f1->code & 0xff);
-----------
There is typo in this chunk: I split P('R','C') with P('T','C'): no break on
P('R','C').
Should be
-----------
@@ -1453,6 +1459,7 @@ i_same(struct f_inst *f1, struct f_inst *f2)
if (strcmp(((struct f_inst_roa_check *) f1)->rtc->name,
((struct f_inst_roa_check *) f2)->rtc->name))
return 0;
break;
+ case P('T','C'): TWOARGS; break;
default:
bug( "Unknown instruction %d in same (%c)", f1->code, f1->code & 0xff);
-----------
--
SP5474-RIPE
Sergey Popovich
More information about the Bird-users
mailing list