SOURCES: ipsec-tools-remove-adminsock_path.patch (NEW) - remove un...

areq areq at pld-linux.org
Sun Jun 12 16:00:23 CEST 2005


Author: areq                         Date: Sun Jun 12 14:00:22 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- remove unused static adminsock_path (by pluto)

---- Files affected:
SOURCES:
   ipsec-tools-remove-adminsock_path.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/ipsec-tools-remove-adminsock_path.patch
diff -u /dev/null SOURCES/ipsec-tools-remove-adminsock_path.patch:1.1
--- /dev/null	Sun Jun 12 16:00:23 2005
+++ SOURCES/ipsec-tools-remove-adminsock_path.patch	Sun Jun 12 16:00:10 2005
@@ -0,0 +1,32 @@
+diff -Nur ipsec-tools-0.6.beta1/src/racoon/racoonctl.c ipsec-tools-0.6.beta1.org/src/racoon/racoonctl.c
+--- ipsec-tools-0.6.beta1/src/racoon/racoonctl.c	2004-12-30 12:08:32.000000000 +0100
++++ ipsec-tools-0.6.beta1.org/src/racoon/racoonctl.c	2005-06-12 15:44:40.201749016 +0200
+@@ -80,8 +80,6 @@
+ #include "ipsec_doi.h"
+ #include "evt.h"
+ 
+-static char *adminsock_path = ADMINSOCK_PATH;
+-
+ static void usage __P((void));
+ static vchar_t *get_combuf __P((int, char **));
+ static int handle_recv __P((vchar_t *));
+@@ -260,7 +258,7 @@
+ 	 */
+ 	setenv("POSIXLY_CORRECT", "1", 0);
+ #endif
+-	while ((c = getopt(ac, av, "lds:")) != -1) {
++	while ((c = getopt(ac, av, "ld:")) != -1) {
+ 		switch(c) {
+ 		case 'l':
+ 			long_format++;
+@@ -270,10 +268,6 @@
+ 			loglevel++;
+ 			break;
+ 
+-		case 's':
+-			adminsock_path = optarg;
+-			break;
+-
+ 		default:
+ 			usage();
+ 			exit(0);
================================================================



More information about the pld-cvs-commit mailing list