1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-10 09:49:05 +00:00

note snmpcommunity script argument name

This commit is contained in:
fyodor
2009-01-09 20:26:23 +00:00
parent 16f60b5912
commit 98d06c4b33

View File

@@ -291,7 +291,7 @@ end
-- @param PDU SNMP Protocol Data Unit to be encapsulated in the packet.
-- @param version SNMP version, default <code>0</code> (SNMP V1).
-- @param commStr community string, if not already supplied in registry or as
-- script argument.
-- the snmpcommunity script argument.
function buildPacket(PDU, version, commStr)
local comm = nmap.registry.args.snmpcommunity
if (not comm) then comm = nmap.registry.snmpcommunity end