1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Remove redundant code, already part of Frame:new()

This commit is contained in:
nnposter
2024-08-25 18:27:05 +00:00
parent a97b4c83aa
commit ec17ad7e02
2 changed files with 0 additions and 2 deletions

View File

@@ -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),

View File

@@ -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