mirror of
https://github.com/nmap/nmap.git
synced 2026-01-03 05:09:14 +00:00
fix a couple bugs found by Jochen (voss at seehuhn.de
This commit is contained in:
@@ -182,7 +182,7 @@ static void mac_prefix_init() {
|
||||
ME->vendor = cp_strdup(p);
|
||||
|
||||
if (MacTable.table_members > MacTable.table_capacity * 0.8)
|
||||
error("WARNING: nmap-mac-prefixes has grown to more than 80\% of our hash table size. MacTable.table_capacity should be increased");
|
||||
error("WARNING: nmap-mac-prefixes has grown to more than 80%% of our hash table size. MacTable.table_capacity should be increased");
|
||||
|
||||
// Now insert it into the table
|
||||
if (MacTable.table_members >= MacTable.table_capacity)
|
||||
|
||||
Reference in New Issue
Block a user