mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
Filters: Function body comparison result now used.
Function bodies were compared in post-parse time, yet the result was not used and the functions were incorrectly considered the same as before. Now the result is used to reload affected protocols.
This commit is contained in:
parent
eb1e43a9af
commit
3f477ccb03
@ -897,6 +897,11 @@
|
|||||||
NEVER_CONSTANT;
|
NEVER_CONSTANT;
|
||||||
SYMBOL;
|
SYMBOL;
|
||||||
|
|
||||||
|
FID_SAME_BODY()
|
||||||
|
if (!(f2->sym->flags & SYM_FLAG_SAME))
|
||||||
|
return 0;
|
||||||
|
FID_INTERPRET_BODY()
|
||||||
|
|
||||||
/* Push the body on stack */
|
/* Push the body on stack */
|
||||||
LINEX(sym->function);
|
LINEX(sym->function);
|
||||||
curline.emask |= FE_RETURN;
|
curline.emask |= FE_RETURN;
|
||||||
|
Loading…
Reference in New Issue
Block a user