extensions: replace AF/PF with NFPROTO

Needs one update of netfilter.h to something recent, too.
This commit is contained in:
Jan Engelhardt
2010-03-17 02:20:39 +01:00
parent 749e0b788a
commit 414e95ffb1
26 changed files with 39 additions and 27 deletions

View File

@@ -142,7 +142,7 @@ account_tg_save(const void *ip, const struct xt_entry_target *target)
static struct xtables_target account_tg_reg = {
.name = "ACCOUNT",
.revision = 1,
.family = AF_INET,
.family = NFPROTO_IPV4,
.version = XTABLES_VERSION,
.size = XT_ALIGN(sizeof(struct ipt_acc_info)),
.userspacesize = offsetof(struct ipt_acc_info, table_nr),