[OpenSWAN dev] bugfix for openswan-1

Tuomo Soini tis at foobar.fi
Fri Dec 12 13:44:14 CET 2003


fixes funny ipsec --version output and logging.

Without patch:

Linux Openswan Uopenswan-1.0.0rc1/Kvopenswan-1.0.0rc1

With patch:

Linux Openswan openswan-1.0.0rc1


Btw: I don't think it's good idea to have openswa- in version string. 
shouldn't it be just 1.0.0rc1.

-- 
Tuomo Soini <tis at foobar.fi>
Linux and network services
+358 40 5240030
Foobar Oy <http://foobar.fi/>
-------------- next part --------------
--- openswan-1.0.0rc1/klips/net/ipsec/ipsec_init.c.verfix	2003-11-25 21:43:21.000000000 +0200
+++ openswan-1.0.0rc1/klips/net/ipsec/ipsec_init.c	2003-12-12 12:59:15.000000000 +0200
@@ -135,7 +135,7 @@
 #endif /* CONFIG_IPSEC_ENC_3DES */
 
 	KLIPS_PRINT(1, "klips_info:ipsec_init: "
-		    "KLIPS startup, Openswan IPsec stack v%s\n",
+		    "KLIPS startup, Openswan IPsec stack %s\n",
 		    ipsec_version_code());
 
 	error |= ipsec_proc_init();
--- openswan-1.0.0rc1/klips/net/ipsec/ipsec_proc.c.verfix	2003-12-11 15:11:23.000000000 +0200
+++ openswan-1.0.0rc1/klips/net/ipsec/ipsec_proc.c	2003-12-12 13:01:47.000000000 +0200
@@ -494,7 +494,7 @@
 		    (int)offset,
 		    length);
 
-	len += sprintf(buffer + len, "Openswan v%s\n",
+	len += sprintf(buffer + len, "Openswan %s\n",
 		       ipsec_version_code());
 #if 0
 	KLIPS_PRINT(debug_tunnel & DB_TN_PROCFS,


More information about the Dev mailing list