diff --git a/nselib/snmp.lua b/nselib/snmp.lua index 96840068c..4244c4dbb 100644 --- a/nselib/snmp.lua +++ b/nselib/snmp.lua @@ -291,7 +291,7 @@ end -- @param PDU SNMP Protocol Data Unit to be encapsulated in the packet. -- @param version SNMP version, default 0 (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