1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-16 04:39:03 +00:00

Remove a fixed value (28428) which was being set for the Request ID in

snmpWalk; a value based on nmap.clock_ms will now be set instead.
This commit is contained in:
jah
2013-11-03 23:27:38 +00:00
parent eaf171e7bd
commit b1cd867212
2 changed files with 3 additions and 1 deletions

View File

@@ -473,7 +473,6 @@ function snmpWalk( socket, base_oid )
while ( true ) do
local value, response, snmpdata, options, item = nil, nil, nil, {}, {}
options.reqId = 28428 -- unnecessary?
payload = encode( buildPacket( buildGetNextRequest(options, oid) ) )
status, err = socket:send(payload)