Changeset f331216 in freewrt


Ignore:
Timestamp:
Jul 9, 2007, 12:09:55 AM (18 years ago)
Author:
Phil Sutter <n0-1@…>
Children:
8403ab8
Parents:
a3fb132
Message:

fix this patch

git-svn-id: svn://www.freewrt.org/trunk/freewrt@3171 afb5a338-a214-0410-bd46-81f09a774fd1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • target/linux/generic-2.4/patches/612-netfilter_quota.patch

    ra3fb132 rf331216  
    1 diff -ruN linux-2.4.30-old/Documentation/Configure.help linux-2.4.30-new/Documentation/Configure.help
    2 --- linux-2.4.30-old/Documentation/Configure.help       2005-11-13 22:30:42.000000000 +0100
    3 +++ linux-2.4.30-new/Documentation/Configure.help       2005-11-13 22:31:17.000000000 +0100
    4 @@ -2888,6 +2888,13 @@
     1diff -Naurp linux-2.4.34/Documentation/Configure.help linux-2.4.34.patched/Documentation/Configure.help
     2--- linux-2.4.34/Documentation/Configure.help   2007-07-08 23:33:27.000000000 +0200
     3+++ linux-2.4.34.patched/Documentation/Configure.help   2007-07-08 23:37:15.000000000 +0200
     4@@ -2888,6 +2888,13 @@ CONFIG_IP_NF_MATCH_LIMIT
    55   If you want to compile it as a module, say M here and read
    66   <file:Documentation/modules.txt>.  If unsure, say `N'.
     
    1616 CONFIG_IP_NF_MATCH_PKTTYPE
    1717   This patch allows you to match packet in accrodance
    18 diff -ruN linux-2.4.30-old/include/linux/netfilter_ipv4/ipt_quota.h linux-2.4.30-new/include/linux/netfilter_ipv4/ipt_quota.h
    19 --- linux-2.4.30-old/include/linux/netfilter_ipv4/ipt_quota.h   1970-01-01 01:00:00.000000000 +0100
    20 +++ linux-2.4.30-new/include/linux/netfilter_ipv4/ipt_quota.h   2005-11-13 22:31:17.000000000 +0100
     18diff -Naurp linux-2.4.34/include/linux/netfilter_ipv4/ipt_quota.h linux-2.4.34.patched/include/linux/netfilter_ipv4/ipt_quota.h
     19--- linux-2.4.34/include/linux/netfilter_ipv4/ipt_quota.h       1970-01-01 01:00:00.000000000 +0100
     20+++ linux-2.4.34.patched/include/linux/netfilter_ipv4/ipt_quota.h       2007-07-08 23:37:15.000000000 +0200
    2121@@ -0,0 +1,12 @@
    2222+#ifndef _IPT_QUOTA_H
     
    3232+
    3333+#endif /*_IPT_QUOTA_H*/
    34 diff -ruN linux-2.4.30-old/net/ipv4/netfilter/Config.in linux-2.4.30-new/net/ipv4/netfilter/Config.in
    35 --- linux-2.4.30-old/net/ipv4/netfilter/Config.in       2005-11-13 22:30:42.000000000 +0100
    36 +++ linux-2.4.30-new/net/ipv4/netfilter/Config.in       2005-11-13 22:31:17.000000000 +0100
    37 @@ -24,6 +24,7 @@
     34diff -Naurp linux-2.4.34/net/ipv4/netfilter/Config.in linux-2.4.34.patched/net/ipv4/netfilter/Config.in
     35--- linux-2.4.34/net/ipv4/netfilter/Config.in   2007-07-08 23:33:27.000000000 +0200
     36+++ linux-2.4.34.patched/net/ipv4/netfilter/Config.in   2007-07-08 23:38:03.000000000 +0200
     37@@ -24,6 +24,7 @@ tristate 'IP tables support (required fo
    3838 if [ "$CONFIG_IP_NF_IPTABLES" != "n" ]; then
    3939 # The simple matches.
    4040   dep_tristate '  limit match support' CONFIG_IP_NF_MATCH_LIMIT $CONFIG_IP_NF_IPTABLES
    4141+  dep_tristate '  quota match support' CONFIG_IP_NF_MATCH_QUOTA $CONFIG_IP_NF_IPTABLES
    42  
    43    dep_tristate '  IP set support' CONFIG_IP_NF_SET $CONFIG_IP_NF_IPTABLES
    44    if [ "$CONFIG_IP_NF_SET" != "n" ]; then
    45 diff -ruN linux-2.4.30-old/net/ipv4/netfilter/Makefile linux-2.4.30-new/net/ipv4/netfilter/Makefile
    46 --- linux-2.4.30-old/net/ipv4/netfilter/Makefile        2005-11-13 22:30:42.000000000 +0100
    47 +++ linux-2.4.30-new/net/ipv4/netfilter/Makefile        2005-11-13 22:31:17.000000000 +0100
    48 @@ -74,6 +74,7 @@
    49  # matches
    50  obj-$(CONFIG_IP_NF_MATCH_HELPER) += ipt_helper.o
    51  obj-$(CONFIG_IP_NF_MATCH_LIMIT) += ipt_limit.o
    52 +obj-$(CONFIG_IP_NF_MATCH_QUOTA) += ipt_quota.o
    53  obj-$(CONFIG_IP_NF_MATCH_MARK) += ipt_mark.o
    54  obj-$(CONFIG_IP_NF_MATCH_SET) += ipt_set.o
    55  obj-$(CONFIG_IP_NF_TARGET_SET) += ipt_SET.o
    56 diff -ruN linux-2.4.30-old/net/ipv4/netfilter/ipt_quota.c linux-2.4.30-new/net/ipv4/netfilter/ipt_quota.c
    57 --- linux-2.4.30-old/net/ipv4/netfilter/ipt_quota.c     1970-01-01 01:00:00.000000000 +0100
    58 +++ linux-2.4.30-new/net/ipv4/netfilter/ipt_quota.c     2005-11-13 22:31:17.000000000 +0100
     42   dep_tristate '  MAC address match support' CONFIG_IP_NF_MATCH_MAC $CONFIG_IP_NF_IPTABLES
     43   dep_tristate '  Packet type match support' CONFIG_IP_NF_MATCH_PKTTYPE $CONFIG_IP_NF_IPTABLES
     44   dep_tristate '  netfilter MARK match support' CONFIG_IP_NF_MATCH_MARK $CONFIG_IP_NF_IPTABLES
     45diff -Naurp linux-2.4.34/net/ipv4/netfilter/ipt_quota.c linux-2.4.34.patched/net/ipv4/netfilter/ipt_quota.c
     46--- linux-2.4.34/net/ipv4/netfilter/ipt_quota.c 1970-01-01 01:00:00.000000000 +0100
     47+++ linux-2.4.34.patched/net/ipv4/netfilter/ipt_quota.c 2007-07-08 23:37:15.000000000 +0200
    5948@@ -0,0 +1,88 @@
    6049+/*
     
    146135+module_exit(fini);
    147136+
     137diff -Naurp linux-2.4.34/net/ipv4/netfilter/Makefile linux-2.4.34.patched/net/ipv4/netfilter/Makefile
     138--- linux-2.4.34/net/ipv4/netfilter/Makefile    2007-07-08 23:33:27.000000000 +0200
     139+++ linux-2.4.34.patched/net/ipv4/netfilter/Makefile    2007-07-08 23:37:15.000000000 +0200
     140@@ -74,6 +74,7 @@ obj-$(CONFIG_IP_NF_NAT) += iptable_nat.o
     141 # matches
     142 obj-$(CONFIG_IP_NF_MATCH_HELPER) += ipt_helper.o
     143 obj-$(CONFIG_IP_NF_MATCH_LIMIT) += ipt_limit.o
     144+obj-$(CONFIG_IP_NF_MATCH_QUOTA) += ipt_quota.o
     145 obj-$(CONFIG_IP_NF_MATCH_MARK) += ipt_mark.o
     146 obj-$(CONFIG_IP_NF_MATCH_MAC) += ipt_mac.o
     147 obj-$(CONFIG_IP_NF_MATCH_IPP2P) += ipt_ipp2p.o
Note: See TracChangeset for help on using the changeset viewer.