]>
Commit | Line | Data |
---|---|---|
8514c08f ER |
1 | --- ../tags/0.8.7e/include/global_arrays.php 2009-06-28 12:34:31.000000000 -0400 |
2 | +++ 0.8.7/include/global_arrays.php 2009-08-18 20:04:44.000000000 -0400 | |
3 | @@ -174,6 +174,10 @@ | |
4 | "DES" => "DES (default)", | |
5 | "AES128" => "AES"); | |
6 | ||
7 | +$banned_snmp_strings = array( | |
8 | + "End of MIB", | |
9 | + "No Such"); | |
10 | + | |
11 | $logfile_options = array(1 => | |
12 | "Logfile Only", | |
13 | "Logfile and Syslog/Eventlog", | |
14 | --- ../tags/0.8.7e/lib/snmp.php 2009-06-28 12:34:30.000000000 -0400 | |
15 | +++ 0.8.7/lib/snmp.php 2009-08-18 20:04:44.000000000 -0400 | |
16 | @@ -27,9 +27,6 @@ | |
17 | define("SNMP_METHOD_PHP", 1); | |
18 | define("SNMP_METHOD_BINARY", 2); | |
19 | ||
20 | -/* declare once, use many times */ | |
21 | -$banned_snmp_strings = array("End of MIB", "No Such"); | |
22 | - | |
23 | /* we must use an apostrophe to escape community names under Unix in case the user uses | |
24 | characters that the shell might interpret. the ucd-snmp binaries on Windows flip out when | |
25 | you do this, but are perfectly happy with a quotation mark. */ |