aboutsummaryrefslogtreecommitdiff
path: root/bpf_filter.c
diff options
context:
space:
mode:
authorJoerg Mayer <jmayer@loplof.de>2018-05-01 22:53:26 +0200
committerJoerg Mayer <jmayer@loplof.de>2018-05-01 23:49:38 +0200
commitaef48f9b959a1e1eab492a8250f90b9452f3b7f4 (patch)
treea95153c4256e51a96acb279de292ef4d609aea3b /bpf_filter.c
parent4b260b9190734d14b8f6106f5322d18a0436b67c (diff)
SKF_AD_VLAN_TAG_PRESENT defined implies SKF_AD_VLAN_TAG defined
Diffstat (limited to 'bpf_filter.c')
-rw-r--r--bpf_filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpf_filter.c b/bpf_filter.c
index 1484e08b..615ed3fc 100644
--- a/bpf_filter.c
+++ b/bpf_filter.c
@@ -162,7 +162,7 @@ bpf_filter_with_aux_data(const struct bpf_insn *pc, const u_char *p,
case BPF_LD|BPF_B|BPF_ABS:
switch (pc->k) {
-#if defined(SKF_AD_VLAN_TAG) && defined(SKF_AD_VLAN_TAG_PRESENT)
+#if defined(SKF_AD_VLAN_TAG_PRESENT)
case SKF_AD_OFF + SKF_AD_VLAN_TAG:
if (!aux_data)
return 0;