summaryrefslogtreecommitdiffstats
path: root/usr.sbin/setkey/setkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/setkey/setkey.c')
-rw-r--r--usr.sbin/setkey/setkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/setkey/setkey.c b/usr.sbin/setkey/setkey.c
index e729e7d..e3e87f2 100644
--- a/usr.sbin/setkey/setkey.c
+++ b/usr.sbin/setkey/setkey.c
@@ -508,7 +508,7 @@ shortdump(msg)
struct sadb_msg *msg;
{
caddr_t mhp[SADB_EXT_MAX + 1];
- char buf[1024], pbuf[10];
+ char buf[NI_MAXHOST], pbuf[NI_MAXSERV];
struct sadb_sa *sa;
struct sadb_address *saddr;
struct sadb_lifetime *lts, *lth, *ltc;
OpenPOWER on IntegriCloud