On 23.03, Pablo Neira Ayuso wrote: > We cannot use __attribute__((constructor)) to register the supported > expressions in runtime when the library is statically linked. This lead > us to some explicit libnftnl_init() function that needs to be called > from the main() function of the client program. Just wondering, why not? They should still be invoked, right? > This patch reverts 4dd0772 ("expr: use __attribute__((constructor)) to > register expression"). > > Reported-by: Laurent Bercot <ska-devel@xxxxxxxxxxx> > Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html