Replace deprecated DEBUG config symbol
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 11 Dec 2007 08:30:48 +0000 (08:30 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 11 Dec 2007 08:30:48 +0000 (08:30 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9706 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/generic-2.6/patches-2.6.23/100-netfilter_layer7_2.15.patch

index 6c6fd5d..3551546 100644 (file)
 +
 +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)
 +      /* 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);