approved by both MAINTAINERs, +minor cosmetics and a time_t printf format fix on NetBSD-current (tested against a Cisco VPN 3000 Concentrator with psk)
13 lines
458 B
Text
13 lines
458 B
Text
$NetBSD: patch-ag,v 1.1 2009/02/04 21:51:27 drochner Exp $
|
|
|
|
--- tunip.c.orig 2009-02-04 16:07:34.000000000 +0100
|
|
+++ tunip.c
|
|
@@ -881,7 +881,7 @@ static void vpnc_main_loop(struct sa_blo
|
|
}
|
|
}
|
|
DEBUG(2,printf("lifetime status: %ld of %u seconds used, %u|%u of %u kbytes used\n",
|
|
- time(NULL) - s->ipsec.life.start,
|
|
+ (long)(time(NULL) - s->ipsec.life.start),
|
|
s->ipsec.life.seconds,
|
|
s->ipsec.life.rx/1024,
|
|
s->ipsec.life.tx/1024,
|