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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user