mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Filter: Fix reconfiguration of roa_check()
This commit is contained in:
parent
4278abfe27
commit
6f535924eb
@ -1693,15 +1693,13 @@ i_same(struct f_inst *f1, struct f_inst *f2)
|
|||||||
case P('a','f'):
|
case P('a','f'):
|
||||||
case P('a','l'):
|
case P('a','l'):
|
||||||
case P('a','L'): ONEARG; break;
|
case P('a','L'): ONEARG; break;
|
||||||
#if 0
|
|
||||||
case P('R','C'):
|
case P('R','C'):
|
||||||
TWOARGS;
|
TWOARGS;
|
||||||
/* Does not really make sense - ROA check resuls may change anyway */
|
/* Does not really make sense - ROA check results may change anyway */
|
||||||
if (strcmp(((struct f_inst_roa_check *) f1)->rtc->name,
|
if (strcmp(((struct f_inst_roa_check *) f1)->rtc->name,
|
||||||
((struct f_inst_roa_check *) f2)->rtc->name))
|
((struct f_inst_roa_check *) f2)->rtc->name))
|
||||||
return 0;
|
return 0;
|
||||||
break;
|
break;
|
||||||
#endif
|
|
||||||
default:
|
default:
|
||||||
bug( "Unknown instruction %d in same (%c)", f1->code, f1->code & 0xff);
|
bug( "Unknown instruction %d in same (%c)", f1->code, f1->code & 0xff);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user