diff options
author | /C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org> | 2007-07-13 15:07:10 +0000 |
---|---|---|
committer | /C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org> | 2007-07-13 15:07:10 +0000 |
commit | 7c2e8b52cd46c83d404e212a8de39c8aa516c027 (patch) | |
tree | be15d21f12a816f451730fbe94e211249d9c8022 /extensions/libip6t_connlimit.c | |
parent | 89573e23db0c2d816ce29bea67c06214158f25ac (diff) |
Fixes compile error of connlimit where NO_SHARED_LIBS=1 is specified
Diffstat (limited to 'extensions/libip6t_connlimit.c')
-rw-r--r-- | extensions/libip6t_connlimit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libip6t_connlimit.c b/extensions/libip6t_connlimit.c index fcbbcd2..d66cffb 100644 --- a/extensions/libip6t_connlimit.c +++ b/extensions/libip6t_connlimit.c @@ -145,7 +145,7 @@ static struct ip6tables_match connlimit_reg = { .extra_opts = connlimit_opts, }; -static __attribute__((constructor)) void libipt_connlimit_init(void) +void _init(void) { register_match6(&connlimit_reg); } |