summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-12-11 08:30:48 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-12-11 08:30:48 +0000
commit71f1ca2cba29516d42f9685293bf72f6b8295398 (patch)
treed6ca7ba8a6989aa711b83b5fac33bf125fc1cab5
parent6e2b3bc158ea27c8e8dd2aa717df138cba8c274a (diff)
downloadmtk-20170518-71f1ca2cba29516d42f9685293bf72f6b8295398.zip
mtk-20170518-71f1ca2cba29516d42f9685293bf72f6b8295398.tar.gz
mtk-20170518-71f1ca2cba29516d42f9685293bf72f6b8295398.tar.bz2
Replace deprecated DEBUG config symbol
SVN-Revision: 9706
-rw-r--r--target/linux/generic-2.6/patches-2.6.23/100-netfilter_layer7_2.15.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.23/100-netfilter_layer7_2.15.patch b/target/linux/generic-2.6/patches-2.6.23/100-netfilter_layer7_2.15.patch
index 6c6fd5d..3551546 100644
--- a/target/linux/generic-2.6/patches-2.6.23/100-netfilter_layer7_2.15.patch
+++ b/target/linux/generic-2.6/patches-2.6.23/100-netfilter_layer7_2.15.patch
@@ -1543,7 +1543,7 @@
+
+DEFINE_SPINLOCK(l7_lock);
+
-+#ifdef CONFIG_IP_NF_MATCH_LAYER7_DEBUG
++#ifdef CONFIG_NETFILTER_XT_MATCH_LAYER7_DEBUG
+/* Converts an unfriendly string into a friendly one by
+replacing unprintables with periods and all whitespace with " ". */
+static char * friendly_print(unsigned char * s)
@@ -1722,7 +1722,7 @@
+ /* If we're in here, throw the app data away */
+ if(master_conntrack->layer7.app_data != NULL) {
+
-+ #ifdef CONFIG_IP_NF_MATCH_LAYER7_DEBUG
++ #ifdef CONFIG_NETFILTER_XT_MATCH_LAYER7_DEBUG
+ if(!master_conntrack->layer7.app_proto) {
+ char * f =
+ friendly_print(master_conntrack->layer7.app_data);