1
0
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:
david
2010-01-14 03:34:11 +00:00
parent 93f2e85aca
commit 53c3d44b9a
2 changed files with 4 additions and 1 deletions

View File

@@ -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

View File

@@ -301,5 +301,5 @@ char *strsep(char **, const char *);
#endif
#ifndef HAVE_SOCKLEN_T
typedef socklen_t int
typedef int socklen_t
#endif