iptables: iptc_init segfault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



g'time of day to every1,
I tried todo iptables initailazation in my application, but
untortunately received seghault, why it's happening?
Which's way I can realy initialize libiptq and xtables in my program?
int main(int argc, char *argv[]){
char **table;
table = &argv[2];
struct iptc_handle **handle;
printf("A %s\n",*table);
*handle = iptc_init(*table);
printf("B\n");
}
--
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

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux