summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-08-09 12:46:27 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-08-09 12:46:27 +0200
commit69f73992477a0e29f939f9e2722f705c4ad72a38 (patch)
treee10a486519a298668a84f30a1097129eafbd1136 /filter
parent5a41eed26d1b12861ba0ecddcd7cade335d2a192 (diff)
parentb3fae3a81796b6deea48445402793660fade5eb6 (diff)
Merge branch 'master' into int-new
Diffstat (limited to 'filter')
-rw-r--r--filter/config.Y2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/config.Y b/filter/config.Y
index a64bb932..12e593d0 100644
--- a/filter/config.Y
+++ b/filter/config.Y
@@ -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))) {
check_u16(vf);
if (vt == EC_ALL)
vt = 0xFFFF;