mirror of
https://github.com/nmap/nmap.git
synced 2025-12-27 18:09:01 +00:00
Removes the bug so as to compare cmd fixes #381
This commit is contained in:
@@ -410,7 +410,7 @@ Response = {
|
||||
return true, Response.Addr:new(data, version)
|
||||
elseif ( "inv\0\0\0\0\0\0\0\0\0" == cmd ) then
|
||||
return true, Response.Inv:new(data)
|
||||
elseif ( "alert\0\0\0\0\0") then
|
||||
elseif ( "alert\0\0\0\0\0" == cmd ) then
|
||||
return true, Response.Alert:new(data)
|
||||
else
|
||||
return false, ("Unknown command (%s)"):format(cmd)
|
||||
|
||||
Reference in New Issue
Block a user