summaryrefslogtreecommitdiffstats
path: root/src/deprecated/extensions/libnetfilter_conntrack_udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/deprecated/extensions/libnetfilter_conntrack_udp.c')
-rw-r--r--src/deprecated/extensions/libnetfilter_conntrack_udp.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/deprecated/extensions/libnetfilter_conntrack_udp.c b/src/deprecated/extensions/libnetfilter_conntrack_udp.c
index c1d20c3..b20ba04 100644
--- a/src/deprecated/extensions/libnetfilter_conntrack_udp.c
+++ b/src/deprecated/extensions/libnetfilter_conntrack_udp.c
@@ -66,7 +66,7 @@ static int compare(struct nfct_conntrack *ct1,
return 1;
}
-static struct nfct_proto udp = {
+struct nfct_proto udp = {
.name = "udp",
.protonum = IPPROTO_UDP,
.build_tuple_proto = build_tuple_proto,
@@ -75,10 +75,3 @@ static struct nfct_proto udp = {
.compare = compare,
.version = VERSION,
};
-
-static void __attribute__ ((constructor)) init(void);
-
-static void init(void)
-{
- nfct_register_proto(&udp);
-}