mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 07:11:37 +00:00
Small fix: missed an 'end'
This commit is contained in:
@@ -206,7 +206,7 @@ end
|
|||||||
-- @return A string.
|
-- @return A string.
|
||||||
function Packet:raw(index, length)
|
function Packet:raw(index, length)
|
||||||
if not index then index = 0 end
|
if not index then index = 0 end
|
||||||
if not length then length = #self.buf-index
|
if not length then length = #self.buf-index end
|
||||||
return string.char(string.byte(self.buf, index+1, index+1+length-1))
|
return string.char(string.byte(self.buf, index+1, index+1+length-1))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user