mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Remove redundant code, already part of Frame:new()
This commit is contained in:
parent
a97b4c83aa
commit
ec17ad7e02
2 changed files with 0 additions and 2 deletions
|
|
@ -150,7 +150,6 @@ action = function()
|
|||
if ( status ) then
|
||||
local header = ATAoE.Header.parse(l3_data)
|
||||
local f = packet.Frame:new(l2_data)
|
||||
f:ether_parse()
|
||||
|
||||
local str = ("Server: %s; Version: %d; Major: %d; Minor: %d"):format(
|
||||
stdnse.format_mac(f.mac_src),
|
||||
|
|
|
|||
|
|
@ -113,7 +113,6 @@ ftp_helper = {
|
|||
|
||||
-- Get ethernet values
|
||||
local f = packet.Frame:new(l2data)
|
||||
f:ether_parse()
|
||||
|
||||
local p = packet.Packet:new(l3data, #l3data)
|
||||
if isIp4 then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue