From ab09ba2b3989e117f4e76d16b8113a090499f14a Mon Sep 17 00:00:00 2001 From: Nicolas Cordier Date: Tue, 15 Jul 2008 12:22:01 +0000 Subject: [PATCH] fix arg for function get_netsnmp_version git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@5723 6bcd3966-0018-0410-8128-fd23d134de7e --- centreon-plugins/src/check_centreon_snmp_cpu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/centreon-plugins/src/check_centreon_snmp_cpu b/centreon-plugins/src/check_centreon_snmp_cpu index 778b029fb..48aadef5f 100644 --- a/centreon-plugins/src/check_centreon_snmp_cpu +++ b/centreon-plugins/src/check_centreon_snmp_cpu @@ -127,7 +127,7 @@ if ($snmp eq "1" || $snmp eq "2") { } } -sub get_netsnmp_version (){ +sub get_netsnmp_version ($){ my $sess = $_[0]; my $OID_VERSION = "1.3.6.1.2.1.25.6.3.1.2"; my $result = $sess->get_table(Baseoid => $OID_VERSION); @@ -217,4 +217,4 @@ sub print_help () { print "##############################################\n"; print_usage(); print "\n"; -} \ No newline at end of file +}