mirror of
https://github.com/nmap/nmap.git
synced 2026-06-09 17:22:26 +00:00
Send a message in the debug output when the user doesn't select a Maxmind database.
This commit is contained in:
parent
bd2c9e01f6
commit
4abff4189e
1 changed files with 1 additions and 1 deletions
|
|
@ -398,7 +398,7 @@ local GeoIP = {
|
|||
self.__index = self
|
||||
o._filename=filename
|
||||
local err
|
||||
o._filehandle= assert(io.open(filename,'rb'))
|
||||
o._filehandle= assert(io.open(filename,'rb'), "Cannot open Maxmind database file")
|
||||
o._databaseType = MaxmindDef.COUNTRY_EDITION
|
||||
o._recordLength = MaxmindDef.STANDARD_RECORD_LENGTH
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue