Buffer size is not enough in the previous commit. Use 128.

Pointed out by:	nectar
MFC after:	1 week
This commit is contained in:
Munechika SUMIKAWA 2003-04-17 07:20:00 +00:00
parent cde488d3a7
commit 296e054f23

View File

@ -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) {