diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-04-30 15:09:56 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-04-30 15:09:56 +0000 |
commit | a4f26397a16d5dff86f2b23f6969e19bd28c99e8 (patch) | |
tree | fcf0f19a91e0c2aade6dade1c7c869efdcc7734b /target/linux/generic-2.6/patches-2.6.25/140-netfilter_time.patch | |
parent | e5d3dda2f9304c2a69fd9154468715d53d849e47 (diff) | |
download | master-187ad058-a4f26397a16d5dff86f2b23f6969e19bd28c99e8.tar.gz master-187ad058-a4f26397a16d5dff86f2b23f6969e19bd28c99e8.tar.bz2 master-187ad058-a4f26397a16d5dff86f2b23f6969e19bd28c99e8.zip |
[kernel] fix some netfilter extensions on 2.6.25
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10991 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.25/140-netfilter_time.patch')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.25/140-netfilter_time.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.25/140-netfilter_time.patch b/target/linux/generic-2.6/patches-2.6.25/140-netfilter_time.patch index a77f04c244..e933bc601b 100644 --- a/target/linux/generic-2.6/patches-2.6.25/140-netfilter_time.patch +++ b/target/linux/generic-2.6/patches-2.6.25/140-netfilter_time.patch @@ -122,7 +122,7 @@ Index: linux-2.6.23-rc6/net/ipv4/netfilter/ipt_time.c + + /* First, check that we are in the correct hooks */ + if (hook_mask -+ & ~((1 << NF_IP_PRE_ROUTING) | (1 << NF_IP_LOCAL_IN) | (1 << NF_IP_FORWARD) | (1 << NF_IP_LOCAL_OUT))) ++ & ~((1 << NF_INET_PRE_ROUTING) | (1 << NF_INET_LOCAL_IN) | (1 << NF_INET_FORWARD) | (1 << NF_INET_LOCAL_OUT))) + { + printk("ipt_time: error, only valid for PRE_ROUTING, LOCAL_IN, FORWARD and OUTPUT)\n"); + return 0; |