diff options
Diffstat (limited to 'src/deprecated/extensions/libnetfilter_conntrack_sctp.c')
-rw-r--r-- | src/deprecated/extensions/libnetfilter_conntrack_sctp.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/deprecated/extensions/libnetfilter_conntrack_sctp.c b/src/deprecated/extensions/libnetfilter_conntrack_sctp.c index 3785c2e..6225ca1 100644 --- a/src/deprecated/extensions/libnetfilter_conntrack_sctp.c +++ b/src/deprecated/extensions/libnetfilter_conntrack_sctp.c @@ -80,7 +80,7 @@ static int compare(struct nfct_conntrack *ct1, return 1; } -static struct nfct_proto sctp = { +struct nfct_proto sctp = { .name = "sctp", .protonum = IPPROTO_SCTP, .parse_proto = parse_proto, @@ -91,10 +91,3 @@ static struct nfct_proto sctp = { .compare = compare, .version = VERSION }; - -static void __attribute__ ((constructor)) init(void); - -static void init(void) -{ - nfct_register_proto(&sctp); -} |