X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fipv4%2Fnetfilter%2Farptable_filter.c;h=0d759f5a4ef0deb605f5463399e0ed773a43ab94;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=70a07a67100d241a9cc98695c0504e44133ca83a;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/net/ipv4/netfilter/arptable_filter.c b/net/ipv4/netfilter/arptable_filter.c index 70a07a671..0d759f5a4 100644 --- a/net/ipv4/netfilter/arptable_filter.c +++ b/net/ipv4/netfilter/arptable_filter.c @@ -141,7 +141,6 @@ static struct static struct arpt_table packet_filter = { .name = "filter", - .table = &initial_table.repl, .valid_hooks = FILTER_VALID_HOOKS, .lock = RW_LOCK_UNLOCKED, .private = NULL, @@ -184,7 +183,7 @@ static int __init init(void) int ret, i; /* Register table */ - ret = arpt_register_table(&packet_filter); + ret = arpt_register_table(&packet_filter, &initial_table.repl); if (ret < 0) return ret;