mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 04:09:01 +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-*-
|
||||
|
||||
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:
|
||||
terminate called after throwing an instance of 'std::out_of_range'
|
||||
what(): bitset::test
|
||||
|
||||
@@ -301,5 +301,5 @@ char *strsep(char **, const char *);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_SOCKLEN_T
|
||||
typedef socklen_t int
|
||||
typedef int socklen_t
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user