summaryrefslogtreecommitdiffstats
path: root/package/openswan/openswan-2.4.7-003-spi.patch
blob: 438e209728335e8bf58ca92a765f99bc859911a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- openswan-2.4.7.orig/programs/spi/spi.c	2006-02-15 05:36:36.000000000 +0100
+++ openswan-2.4.7/programs/spi/spi.c	2006-11-28 15:52:41.000000000 +0100
@@ -538,7 +538,9 @@ main(int argc, char *argv[])
 		case 'g':
 			debug = 1;
 			pfkey_lib_debug = PF_KEY_DEBUG_PARSE_MAX;
+#if !defined(NO_DEBUG)
 			cur_debugging = 0xffffffff;
+#endif
 			argcount--;
 			break;