diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2022-03-04 17:51:50 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2022-06-27 21:13:31 +0200 |
commit | fb1d8f65136aa6190b527b691f24abe16a461471 (patch) | |
tree | 02fcdf35aa6c32167b78f82d2e9666ed1a58686f /filter/data.c | |
parent | b2d6d2948af268812a8f55f260d340194eb3f7ac (diff) |
Filter: Apply constant promotion for FI_EQ / FI_NEQ
Equality comparison is defined on all values, even of different
types, but we still want to do constant promotion if possible.
Diffstat (limited to 'filter/data.c')
-rw-r--r-- | filter/data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/data.c b/filter/data.c index 276738a9..2bb5920c 100644 --- a/filter/data.c +++ b/filter/data.c @@ -192,7 +192,7 @@ val_compare(const struct f_val *v1, const struct f_val *v2) if (val_is_ip4(v1) && (v2->type == T_QUAD)) return uint_cmp(ipa_to_u32(v1->val.ip), v2->val.i); - debug( "Types do not match in val_compare\n" ); + DBG( "Types do not match in val_compare\n" ); return F_CMP_ERROR; } |