mirror of
https://github.com/nmap/nmap.git
synced 2026-06-30 05:05:53 +00:00
Put brackets on PEER_STR_LEN.
Maybe we'll decide to add these; anyway more space doesn't hurt.
This commit is contained in:
parent
cc4eb9f381
commit
f5ac3e9f4e
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@
|
|||
#if HAVE_SYS_UN_H
|
||||
#define PEER_STR_LEN sizeof(((struct sockaddr_un *) 0)->sun_path)
|
||||
#else
|
||||
#define PEER_STR_LEN sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255:xxxxx")
|
||||
#define PEER_STR_LEN sizeof("[ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255]:xxxxx")
|
||||
#endif
|
||||
|
||||
/* Maximize the number of file descriptors (including sockets) allowed for this
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue