mirror of
https://github.com/nmap/nmap.git
synced 2026-01-20 13:19:01 +00:00
some bugfixes from Eddie Bell related to build_icmp_raw ttl argument and nmap_getprotobyname calling nmap_protocols_init
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
# Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
4.21ALPHA2
|
||||
|
||||
o Nmap now has a public Subversion (SVN) source code repository. See
|
||||
@@ -12,6 +13,8 @@ o Update IANA assignment IP list for random IP (-iR) generation.
|
||||
|
||||
o Applied more code cleanup patches from Kris Katterjohn.
|
||||
|
||||
o Applied some internal bugfix patches from Eddie Bell.
|
||||
|
||||
4.21ALPHA1
|
||||
|
||||
o Integrated the Nmap Scripting Engine (NSE) into mainline Nmap.
|
||||
|
||||
@@ -180,11 +180,7 @@ static int nmap_protocols_init() {
|
||||
|
||||
struct protoent *nmap_getprotbynum(int num) {
|
||||
struct protocol_list *current;
|
||||
|
||||
// nmap_protocols_init never returns -1 ?!
|
||||
//if (nmap_protocols_init() == -1)
|
||||
// return NULL;
|
||||
|
||||
nmap_protocols_init();
|
||||
for(current = protocol_table[num % PROTOCOL_TABLE_SIZE];
|
||||
current; current = current->next) {
|
||||
if (num == current->protoent->p_proto)
|
||||
|
||||
Reference in New Issue
Block a user