]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
modules: replace AF/PF with NFPROTO
authorJan Engelhardt <jengelh@medozas.de>
Wed, 17 Mar 2010 01:25:40 +0000 (02:25 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Wed, 17 Mar 2010 01:25:40 +0000 (02:25 +0100)
extensions/ACCOUNT/xt_ACCOUNT.c

index e2412616b80b455e428fadf700ab8b50333a08d2..1c5b1e09a15e295328e621a03547806684ee210e 100644 (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,