Correct snmpwalk args in snmpcheck

snmpcheck used the old command line arguments for snmpwalk giving an
error and no data.

Closes: #898197

References:
 https://bugs.kali.org/view.php?id=4655

Gbp-Pq: Name snmpwalk_args_in_snmpcheck
This commit is contained in:
Craig Small 2018-07-20 20:32:41 +10:00 committed by Lu zhiping
parent d36c9222cd
commit 2cbf8070e2
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ $mibupdateconfig="$mibheadall.VERSIONMIBNUM.VERUPDATECONFIG";
'.LOADAVEMIBNUM.1' => 1,
'.ERRORMIBNUM' => 1);
$errlog="/net/tyfon/1/OV/log/ece-log";
$default_get_args = "-v 1 %s private";
$default_set_args = "-v 1 %s private";
$default_get_args = "-v 1 -c private %s";
$default_set_args = "-v 1 -c private %s";
$andlog=0;
$snmppath="BINDIR";
$eraseline=" \r";