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/140-netfilter_time.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/140-netfilter_time.patch')
-rw-r--r-- | target/linux/generic-2.6/patches/140-netfilter_time.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic-2.6/patches/140-netfilter_time.patch b/target/linux/generic-2.6/patches/140-netfilter_time.patch index d217157d78..b07c894185 100644 --- a/target/linux/generic-2.6/patches/140-netfilter_time.patch +++ b/target/linux/generic-2.6/patches/140-netfilter_time.patch @@ -146,12 +146,12 @@ diff -urN linux-2.6.19.old/net/ipv4/netfilter/ipt_time.c linux-2.6.19.dev/net/ip +static int __init init(void) +{ + printk("ipt_time loading\n"); -+ return ipt_register_match(&time_match); ++ return xt_register_match(&time_match); +} + +static void __exit fini(void) +{ -+ ipt_unregister_match(&time_match); ++ xt_unregister_match(&time_match); + printk("ipt_time unloaded\n"); +} + |