X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ipset%2Fipset_iphash.c;h=78a537bb00acc718c6625b2ad4de20f93954d086;hb=6fa4898a0e0ee0a5d165f581b3599a12726f575f;hp=c8b400c75bfec219fd8b477cde992e0712ed7b6a;hpb=169f43c7ce2a10d2c697f5b40307f80d5c36727d;p=iptables.git diff --git a/ipset/ipset_iphash.c b/ipset/ipset_iphash.c index c8b400c..78a537b 100644 --- a/ipset/ipset_iphash.c +++ b/ipset/ipset_iphash.c @@ -290,7 +290,7 @@ static struct settype settype_iphash = { .usage = &usage, }; -void _init(void) +void __attribute__ ((constructor)) my_init(void) { settype_register(&settype_iphash);