summaryrefslogtreecommitdiffstats
path: root/src/evaluate.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-12-25 19:19:18 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2015-12-25 22:06:17 +0100
commit5ae62260db2f55b51daeef59a8c197d020e89252 (patch)
tree09e16a7f62edca93035194e0bd4939ec47c6c256 /src/evaluate.c
parent76d672ca7c8518b92f67abb2393fbe228f2e2800 (diff)
src: add new netdev protocol description
This relies on NFT_META_PROTOCOL instead of ethernet protocol type header field to prepare support for non-ethernet protocols in the future. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/evaluate.c')
-rw-r--r--src/evaluate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evaluate.c b/src/evaluate.c
index 7aab6aac..6277f14e 100644
--- a/src/evaluate.c
+++ b/src/evaluate.c
@@ -365,7 +365,7 @@ static bool supersede_dep(const struct proto_desc *have,
if (payload->payload.base != PROTO_BASE_LL_HDR || have->length)
return false;
- if (have != &proto_inet)
+ if (have != &proto_inet && have != &proto_netdev)
return false;
return true;