From c48484a7fee3cc66401a75e30bc82fa7c65971a0 Mon Sep 17 00:00:00 2001 From: sumikawa Date: Thu, 17 Apr 2003 07:20:00 +0000 Subject: 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(-) (limited to 'lib/libipsec') diff --git a/lib/libipsec/pfkey_dump.c b/lib/libipsec/pfkey_dump.c index bbc0502..af3db0e 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) { -- cgit v1.1