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 | aa8d377d7eff643f6b52a09d2381db02297fe204 (patch) | |
tree | a858980772644672202fbe355d06656a636c074d /target/linux/generic-2.6/patches/160-netfilter_route.patch | |
parent | 227d9b1b0ab6893dd29f28036e9aa0a1cb139819 (diff) | |
download | upstream-aa8d377d7eff643f6b52a09d2381db02297fe204.tar.gz upstream-aa8d377d7eff643f6b52a09d2381db02297fe204.tar.bz2 upstream-aa8d377d7eff643f6b52a09d2381db02297fe204.zip |
update netfilter patches, fix atheros
SVN-Revision: 7320
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); |