diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-01-28 12:58:19 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-01-31 23:43:35 +0100 |
commit | f231f245476f40d2a9ad045874f9ca5b600da758 (patch) | |
tree | e0f5f0826a1277007449be4f47ea9a9e0e828807 /src/cli.c | |
parent | fc929814bd553d3de339ea1364e87807ce1475fe (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/cli.c')
0 files changed, 0 insertions, 0 deletions