0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-12 22:28:44 +00:00

Filter: Fix reconfiguration of roa_check()

This commit is contained in:
Ondrej Zajicek (work) 2017-04-06 17:16:49 +02:00
parent 4278abfe27
commit 6f535924eb

View File

@ -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);
} }