diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2007-05-23 23:10:09 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2007-05-23 23:10:09 +0000 |
commit | 3003516b5a10a82042e1aeff49f2cf219ff78180 (patch) | |
tree | 0599eb0d217eddadc782fdb3e2cbbab142e128d9 /target/linux/generic-2.6/patches/160-netfilter_route.patch | |
parent | ecfd950f2373a2ad11db11adcbc8f8f1ffe773e3 (diff) | |
download | master-187ad058-3003516b5a10a82042e1aeff49f2cf219ff78180.tar.gz master-187ad058-3003516b5a10a82042e1aeff49f2cf219ff78180.tar.bz2 master-187ad058-3003516b5a10a82042e1aeff49f2cf219ff78180.zip |
update netfilter patches, fix atheros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7320 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/patches/160-netfilter_route.patch')
-rw-r--r-- | target/linux/generic-2.6/patches/160-netfilter_route.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic-2.6/patches/160-netfilter_route.patch b/target/linux/generic-2.6/patches/160-netfilter_route.patch index 0d73ba3193..a7386038cb 100644 --- a/target/linux/generic-2.6/patches/160-netfilter_route.patch +++ b/target/linux/generic-2.6/patches/160-netfilter_route.patch @@ -906,7 +906,7 @@ diff -Nur linux-2.6.21.1/net/ipv6/netfilter/ip6t_ROUTE.c linux-2.6.21.1-owrt/net +static int __init init(void) +{ + printk(KERN_DEBUG "registering ipv6 ROUTE target\n"); -+ if (ip6t_register_target(&ip6t_route_reg)) ++ if (xt_register_target(&ip6t_route_reg)) + return -EINVAL; + + return 0; @@ -915,7 +915,7 @@ diff -Nur linux-2.6.21.1/net/ipv6/netfilter/ip6t_ROUTE.c linux-2.6.21.1-owrt/net + +static void __exit fini(void) +{ -+ ip6t_unregister_target(&ip6t_route_reg); ++ xt_unregister_target(&ip6t_route_reg); +} + +module_init(init); |