ipt_ACCOUNT Archives

Subject: ipt_ACCOUNT on linux kernel 2.6.35 doesn't build

From: Dmitry Novikov <dimetrios@xxxxxxxxx>
To: ipt_ACCOUNT@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 29 Sep 2010 15:30:29 +0300
Hello.
Looks like ipt_ACCOUNT doesn't work with 2.6.35 kernel after netfilter
cleanup in xt_match_param and xt_target_param (see commit
http://marc.info/?l=linux-netdev&m=127376740020294&w=3).

Symptom:
net/ipv4/netfilter/ipt_ACCOUNT.c:487: warning: ‘struct
xt_target_param’ declared inside parameter list
net/ipv4/netfilter/ipt_ACCOUNT.c:487: warning: its scope is only this
definition or declaration, which is probably not what you want
net/ipv4/netfilter/ipt_ACCOUNT.c: In function ‘ipt_acc_target’:
net/ipv4/netfilter/ipt_ACCOUNT.c:510: error: dereferencing pointer to
incomplete type net/ipv4/netfilter/ipt_ACCOUNT.c: At top level:
net/ipv4/netfilter/ipt_ACCOUNT.c:1134: warning: initialization from
incompatible pointer type
net/ipv4/netfilter/ipt_ACCOUNT.c:1138: warning: initialization from
incompatible pointer type

--
ipt_ACCOUNT - see http://www.intra2net.com/en/developer/ipt_ACCOUNT for details.
To unsubscribe send a mail to ipt_ACCOUNT+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx

Current Thread