summaryrefslogtreecommitdiffstats
path: root/lib/libipsec
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2003-04-16 11:21:12 +0000
committersumikawa <sumikawa@FreeBSD.org>2003-04-16 11:21:12 +0000
commitdea571d781d958558771a55a0ac41ce2a6a388b3 (patch)
tree801376d3f278c2fc38d211987713700c488065e8 /lib/libipsec
parentb0222b0710e55a52aa0dfeae92032cd0bfaf2916 (diff)
downloadFreeBSD-src-dea571d781d958558771a55a0ac41ce2a6a388b3.zip
FreeBSD-src-dea571d781d958558771a55a0ac41ce2a6a388b3.tar.gz
Make character buffer more bigger.
Obtained from: KAME MFC after: 1 week
Diffstat (limited to 'lib/libipsec')
-rw-r--r--lib/libipsec/pfkey_dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libipsec/pfkey_dump.c b/lib/libipsec/pfkey_dump.c
index 2ea6246..bbc0502 100644
--- a/lib/libipsec/pfkey_dump.c
+++ b/lib/libipsec/pfkey_dump.c
@@ -510,8 +510,8 @@ str_prefport(family, pref, port)
u_int family, pref, port;
{
static char buf[128];
- char prefbuf[10];
- char portbuf[10];
+ char prefbuf[20];
+ char portbuf[20];
int plen;
switch (family) {
OpenPOWER on IntegriCloud