modules: replace AF/PF with NFPROTO

This commit is contained in:
Jan Engelhardt
2010-03-17 02:25:40 +01:00
parent 414e95ffb1
commit 48327605c6

View File

@@ -1082,7 +1082,7 @@ static int ipt_acc_get_ctl(struct sock *sk, int cmd, void *user, int *len)
static struct xt_target xt_acc_reg __read_mostly = {
.name = "ACCOUNT",
.revision = 1,
.family = AF_INET,
.family = NFPROTO_IPV4,
.target = ipt_acc_target,
.targetsize = sizeof(struct ipt_acc_info),
.checkentry = ipt_acc_checkentry,