mirror of
https://github.com/nmap/nmap.git
synced 2025-12-16 04:39:03 +00:00
Fix the socklen_t typedef in libdnet-stripped. It was
typedef socklen_t int; Michael Pattrick pointed out that it should be typedef int socket_t;
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
# Nmap Changelog ($Id$); -*-text-*-
|
# Nmap Changelog ($Id$); -*-text-*-
|
||||||
|
|
||||||
|
o Fixed compilation of libdnet-stripped on platforms that don't have
|
||||||
|
socklen_t. [Michael Pattrick]
|
||||||
|
|
||||||
o Fixed a bug in traceroute that could lead to a crash:
|
o Fixed a bug in traceroute that could lead to a crash:
|
||||||
terminate called after throwing an instance of 'std::out_of_range'
|
terminate called after throwing an instance of 'std::out_of_range'
|
||||||
what(): bitset::test
|
what(): bitset::test
|
||||||
|
|||||||
@@ -301,5 +301,5 @@ char *strsep(char **, const char *);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_SOCKLEN_T
|
#ifndef HAVE_SOCKLEN_T
|
||||||
typedef socklen_t int
|
typedef int socklen_t
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user