mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Fixed bug that would fail to calculate a PADI host unique value in the pppoe
library under certain circumstances. Fixed bug that would fail to terminate script properly if no response was received from pppoe server. [Patrik]
This commit is contained in:
parent
956c9ffe53
commit
92cb5a3def
2 changed files with 12 additions and 3 deletions
|
|
@ -32,7 +32,9 @@ require 'pppoe'
|
|||
prerule = function() return true end
|
||||
|
||||
local function fail(err)
|
||||
return ("\n ERROR: %s"):format(err)
|
||||
if ( err ) then
|
||||
return ("\n ERROR: %s"):format(err)
|
||||
end
|
||||
end
|
||||
|
||||
local function mac_tostr(mac)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue