netfilter: x_tables: use NFPROTO_* in extensions
[linux-2.6.git] / net / netfilter / xt_realm.c
index 7df1627..ef65756 100644 (file)
@@ -39,7 +39,7 @@ static struct xt_match realm_mt_reg __read_mostly = {
        .matchsize      = sizeof(struct xt_realm_info),
        .hooks          = (1 << NF_INET_POST_ROUTING) | (1 << NF_INET_FORWARD) |
                          (1 << NF_INET_LOCAL_OUT) | (1 << NF_INET_LOCAL_IN),
-       .family         = AF_INET,
+       .family         = NFPROTO_IPV4,
        .me             = THIS_MODULE
 };