mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 10:30:38 +02:00
Replace deprecated DEBUG config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9706 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
77ce46e9f8
commit
c0d490d3c5
@ -1543,7 +1543,7 @@
|
|||||||
+
|
+
|
||||||
+DEFINE_SPINLOCK(l7_lock);
|
+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
|
+/* Converts an unfriendly string into a friendly one by
|
||||||
+replacing unprintables with periods and all whitespace with " ". */
|
+replacing unprintables with periods and all whitespace with " ". */
|
||||||
+static char * friendly_print(unsigned char * s)
|
+static char * friendly_print(unsigned char * s)
|
||||||
@ -1722,7 +1722,7 @@
|
|||||||
+ /* If we're in here, throw the app data away */
|
+ /* If we're in here, throw the app data away */
|
||||||
+ if(master_conntrack->layer7.app_data != NULL) {
|
+ 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) {
|
+ if(!master_conntrack->layer7.app_proto) {
|
||||||
+ char * f =
|
+ char * f =
|
||||||
+ friendly_print(master_conntrack->layer7.app_data);
|
+ friendly_print(master_conntrack->layer7.app_data);
|
||||||
|
Loading…
Reference in New Issue
Block a user