diff --git a/CHANGELOG b/CHANGELOG index b2611aaf7..40d8b5892 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 diff --git a/libdnet-stripped/include/config.h.in b/libdnet-stripped/include/config.h.in index 7d5cbbaf6..1f72a454a 100644 --- a/libdnet-stripped/include/config.h.in +++ b/libdnet-stripped/include/config.h.in @@ -301,5 +301,5 @@ char *strsep(char **, const char *); #endif #ifndef HAVE_SOCKLEN_T -typedef socklen_t int +typedef int socklen_t #endif