Debian Codegraph @

debian/patches/snmpwalk_args_in_snmpcheck

raw
1 From: Craig Small <[email protected]>
2 Date: Fri, 20 Jul 2018 20:32:41 +1000
3 Subject: Correct snmpwalk args in snmpcheck
4
5 snmpcheck used the old command line arguments for snmpwalk giving an
6 error and no data.
7
8 Closes: #898197
9
10 References:
11 https://bugs.kali.org/view.php?id=4655
12 ---
13
14 --- a/local/snmpcheck.def
15 +++ b/local/snmpcheck.def
16 @@ -27,8 +27,8 @@ $mibupdateconfig="$mibheadall.VERSIONMIB
17 '.LOADAVEMIBNUM.1' => 1,
18 '.ERRORMIBNUM' => 1);
19 $errlog="/net/tyfon/1/OV/log/ece-log";
20 -$default_get_args = "-v 1 %s private";
21 -$default_set_args = "-v 1 %s private";
22 +$default_get_args = "-v 1 -c private %s";
23 +$default_set_args = "-v 1 -c private %s";
24 $andlog=0;
25 $snmppath="BINDIR";
26 $eraseline=" \r";