Use NI_xxx macros.
Obtained from: KAME MFC after: 1 week
This commit is contained in:
parent
2bce79a21d
commit
0fe265077e
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user