Commit e46128fb authored by Ondřej Zajíček's avatar Ondřej Zajíček
Browse files

Filters: Do not clamp EC set values to 16 bit for EC_GENERICs

Thanks to Lennert Buytenhek <> for the patch.
parent 33f7fbc4
......@@ -112,7 +112,7 @@ f_new_ec_item(u32 kind, u32 ipv4_used, u32 key, u32 vf, u32 vt)
u64 fm, to;
if (ipv4_used || (key >= 0x10000)) {
if ((kind != EC_GENERIC) && (ipv4_used || (key >= 0x10000))) {
if (vt == EC_ALL)
vt = 0xFFFF;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment