summaryrefslogtreecommitdiffstats
path: root/src/conntrack/Makefile.am
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2020-06-24 15:30:03 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2020-07-01 12:59:18 +0200
commitbc1cb4b1140327dc69246907518c95da2d3f580d (patch)
tree7b4d72a4880381acc279f930a46a769571a0d8f2 /src/conntrack/Makefile.am
parentaeabb1640ffb5643729ca2ce343738cd85b65f3f (diff)
conntrack: Move icmp request>reply type mapping to common file
Currently the invmap_icmp* arrays are duplicated in setter.c and grp_setter.c. This moves them to a new module 'proto'. Instead of having the code access the arrays directly we provide new wrapper functions __icmp{,v6}_reply_type. Signed-off-by: Daniel Gröber <dxld@darkboxed.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/conntrack/Makefile.am')
-rw-r--r--src/conntrack/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conntrack/Makefile.am b/src/conntrack/Makefile.am
index 602ed33..1fbf176 100644
--- a/src/conntrack/Makefile.am
+++ b/src/conntrack/Makefile.am
@@ -14,4 +14,5 @@ libnfconntrack_la_SOURCES = api.c \
copy.c \
filter.c bsf.c filter_dump.c \
grp.c grp_getter.c grp_setter.c \
- stack.c
+ stack.c \
+ proto.c