summaryrefslogtreecommitdiffstats
path: root/src/rule.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2016-01-28 12:58:19 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2016-01-31 23:43:35 +0100
commitf231f245476f40d2a9ad045874f9ca5b600da758 (patch)
treee0f5f0826a1277007449be4f47ea9a9e0e828807 /src/rule.c
parentfc929814bd553d3de339ea1364e87807ce1475fe (diff)
evaluate: only try to replace dummy protocol from link-layer context
Add proto_is_dummy() that returns true for netdev and inet family, the only two using a dummy link-layer protocol base definition. Rename supersede_dep() to meta_iiftype_gen_dependency() since this is generating the implicit meta iiftype check for netdev and inet. This patch also gets rid of the have->length check. The tests pass fine without this so I suspect this is superfluos. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/rule.c')
0 files changed, 0 insertions, 0 deletions