New upstream version 2.1.0

This commit is contained in:
Jan Wagner 2017-11-29 16:28:59 +01:00
parent e1ab4578a6
commit 75687e089f
37 changed files with 1333 additions and 8079 deletions

View file

@ -37,7 +37,7 @@ my $ns_rsa_oper_second = ".1.3.6.1.4.1.14020.1.1.3.4.0;"; # number of RSA operat
# Globals
my $VERSION = "2.0.0";
my $VERSION = "2.1.0";
my $o_host = undef; # hostname
my $o_community = undef; # community
@ -265,6 +265,7 @@ if (defined($o_login) && defined($o_passwd)) {
verb("SNMPv3 AuthNoPriv login : $o_login, $o_authproto");
($session, $error) = Net::SNMP->session(
-hostname => $o_host,
-port => $o_port,
-version => '3',
-username => $o_login,
-authpassword => $o_passwd,
@ -275,6 +276,7 @@ if (defined($o_login) && defined($o_passwd)) {
verb("SNMPv3 AuthPriv login : $o_login, $o_authproto, $o_privproto");
($session, $error) = Net::SNMP->session(
-hostname => $o_host,
-port => $o_port,
-version => '3',
-username => $o_login,
-authpassword => $o_passwd,