0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 08:38:42 +00:00

Filter: Fix function comparison

Check the SYM_FLAG_SAME in new symbols. The old code checked that
in old symbols (f2).
This commit is contained in:
Ondrej Zajicek (work) 2019-12-10 18:53:16 +01:00
parent 4ab54f1aef
commit dfb3eb7716

View File

@ -924,7 +924,7 @@
SYMBOL; SYMBOL;
FID_SAME_BODY() FID_SAME_BODY()
if (!(f2->sym->flags & SYM_FLAG_SAME)) if (!(f1->sym->flags & SYM_FLAG_SAME))
return 0; return 0;
FID_INTERPRET_BODY() FID_INTERPRET_BODY()