Hi,
I'm trying to write a class in C++ that will retreive statistics from iptable in order to find out the traffic on each rule in the NAT table. The problem is that after including iptables.h whenever I'm compiling I get:
/usr/include/linux/netfilter_ipv4/ip_tables.h:295: ISO C++ forbids using pointer of type 'void *' in pointer arithmetic
I'm running RH7.3 with iptables 1.2.5
TIA
Lior