mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Removes the bug so as to compare cmd fixes #381
This commit is contained in:
parent
168ac74f40
commit
4d67d58d04
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue