1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-04 05:39:01 +00:00

NSE committed

This commit is contained in:
fyodor
2006-12-11 00:34:26 +00:00
parent cc451cdb54
commit b361685be8
136 changed files with 23553 additions and 201 deletions

View File

@@ -145,7 +145,7 @@ static void mac_prefix_init() {
MacTable.table = (struct MAC_entry **) safe_zalloc(MacTable.table_capacity * sizeof(struct MAC_entry *));
/* Now it is time to read in all of the entries ... */
if (nmap_fetchfile(filename, sizeof(filename), "nmap-mac-prefixes") == -1){
if (nmap_fetchfile(filename, sizeof(filename), "nmap-mac-prefixes") != 1){
error("Cannot find nmap-mac-prefixes: Ethernet vendor corolation will not be performed");
return;
}