aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 2ea62463395f7..bbc0502e0672f 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) {