summaryrefslogtreecommitdiff
path: root/security/ipsec-tools/patches/patch-ab
blob: 87a9649856b041a829c050bc148e8fc55d7c16dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ab,v 1.1 2004/11/10 16:53:51 manu Exp $
--- src/racoon/remoteconf.c.orig	2004-11-10 19:04:19.000000000 +0100
+++ src/racoon/remoteconf.c	2004-11-10 19:04:26.000000000 +0100
@@ -544,9 +544,9 @@
 			prop->prop_no, prop->trns_no,
 			saddr2str(prop->rmconf->remote));
 		plog(LLV_INFO, LOCATION, NULL, "\tproposal {\n");
 		plog(LLV_INFO, LOCATION, NULL, "\t\tlifetime time %lu sec;\n",
-			prop->lifetime);
+			(long)prop->lifetime);
 		plog(LLV_INFO, LOCATION, NULL, "\t\tlifetime bytes %zd;\n",
 			prop->lifebyte);
 		plog(LLV_INFO, LOCATION, NULL, "\t\tdh_group %s;\n",
 			alg_oakley_dhdef_name(prop->dh_group));