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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113590

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