summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2003-09-26 15:59:35 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2003-09-26 15:59:35 +0000
commite6da30f790c446562d96711bdc6f96f707f6a585 (patch)
tree673d55cb93cba5396a130e018271e6e9fccbc898 /sbin
parentdb61e75edfa5812f686a7dbfc2ea021fb4838be8 (diff)
Fix off-by-ones in format string for 's' specifier; millert@, deraadt@ ok
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/sysdep/freeswan/klips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/sysdep/freeswan/klips.c b/sbin/isakmpd/sysdep/freeswan/klips.c
index a8e07f0522e..d36233371d3 100644
--- a/sbin/isakmpd/sysdep/freeswan/klips.c
+++ b/sbin/isakmpd/sysdep/freeswan/klips.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: klips.c,v 1.2 2003/06/03 14:53:11 ho Exp $ */
+/* $OpenBSD: klips.c,v 1.3 2003/09/26 15:59:34 aaron Exp $ */
/*
* Copyright (c) 1999 Niklas Hallqvist. All rights reserved.
@@ -72,7 +72,7 @@
#define KLIPS_DEVICE "/dev/ipsec"
#define PROC_ROUTE_FILE "/proc/net/route"
-#define PROC_ROUTE_FMT "%16s %128s %128s %X %d %d %d %128s %d %d %d\n"
+#define PROC_ROUTE_FMT "%15s %127s %127s %X %d %d %d %127s %d %d %d\n"
/* XXX Maybe these are available through some system-supplied define? */
#define AH_NEW_XENCAP_LEN (3 * sizeof(u_short) + 2 * sizeof(u_char))