Use NI_xxx macros.

Obtained from:	KAME
MFC after:	1 week
This commit is contained in:
Munechika SUMIKAWA 2003-04-16 09:53:29 +00:00
parent 2bce79a21d
commit 0fe265077e
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;