mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Buffer size is not enough in the previous commit. Use 128.
Pointed out by: nectar MFC after: 1 week
This commit is contained in:
parent
cde488d3a7
commit
296e054f23
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113590
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue