PR# 1064 - Fix snmp.lua for SNMPv2c

Tamizh N <[email protected]>
Newsgroups gmane.comp.security.nmap.devel
Message-ID <CAGhzYmVbd4J0g2SMDubY81wYraT0_vrq0uGsGmzBXBVrf-+30Q@mail.gmail.com>
SNMP library always falls back to SNMP v1 even when explicitly calling v2
in the helper function. This is because the version number is incorrectly
referenced as self.version instead of self.options.version in request
function.

Please review my pull request #1064 in github as a patch for this.

-- 
Tamizh

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.