From 296e054f23494b7ff9ed04a7cf4ead35f3113eb6 Mon Sep 17 00:00:00 2001 From: Munechika SUMIKAWA Date: Thu, 17 Apr 2003 07:20:00 +0000 Subject: [PATCH] Buffer size is not enough in the previous commit. Use 128. Pointed out by: nectar MFC after: 1 week --- lib/libipsec/pfkey_dump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libipsec/pfkey_dump.c b/lib/libipsec/pfkey_dump.c index bbc0502e0672..af3db0eb47c6 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[20]; - char portbuf[20]; + char prefbuf[128]; + char portbuf[128]; int plen; switch (family) {