]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/ipv4/netfilter/iptable_filter.c
Merge branch 'timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mv-sheeva.git] / net / ipv4 / netfilter / iptable_filter.c
index bef326c22e2484b8d57ab00f9821eaac0f8f35bd..df566cbd68e555ccec91b95e6a3d8e4e518b17bd 100644 (file)
@@ -53,11 +53,11 @@ static struct
        .term = IPT_ERROR_INIT,                 /* ERROR */
 };
 
-static struct xt_table packet_filter = {
+static const struct xt_table packet_filter = {
        .name           = "filter",
        .valid_hooks    = FILTER_VALID_HOOKS,
        .me             = THIS_MODULE,
-       .af             = AF_INET,
+       .af             = NFPROTO_IPV4,
 };
 
 /* The work comes in here from netfilter.c. */