mirror of
https://github.com/nmap/nmap.git
synced 2025-12-18 13:39:02 +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:
@@ -80,7 +80,7 @@
|
|||||||
#if HAVE_SYS_UN_H
|
#if HAVE_SYS_UN_H
|
||||||
#define PEER_STR_LEN sizeof(((struct sockaddr_un *) 0)->sun_path)
|
#define PEER_STR_LEN sizeof(((struct sockaddr_un *) 0)->sun_path)
|
||||||
#else
|
#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
|
#endif
|
||||||
|
|
||||||
/* Maximize the number of file descriptors (including sockets) allowed for this
|
/* Maximize the number of file descriptors (including sockets) allowed for this
|
||||||
|
|||||||
Reference in New Issue
Block a user