On Saturday 2009-11-14 02:53, basteon wrote: >hello every1, >why if I tried to use this code, I've got segfault everytime? >int main(void){ >printf("AFTER\n"); >xtables_error(PARAMETER_PROBLEM, "unexpected ! flag"); >printf("BEFORE\n"); >exit(1); >} You are not allowed to just call xtables_error without the initialization that iptables.c etc. do. -- 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