mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +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:
parent
93f2e85aca
commit
53c3d44b9a
2 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue