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

@@ -155,7 +155,7 @@ static struct xtables_match length2_mt_reg = {
.version = XTABLES_VERSION,
.name = "length2",
.revision = 2,
.family = PF_UNSPEC,
.family = NFPROTO_UNSPEC,
.size = XT_ALIGN(sizeof(struct xt_length_mtinfo2)),
.userspacesize = XT_ALIGN(sizeof(struct xt_length_mtinfo2)),
.init = length_mt_init,