From 56b4b272170e6eb365adc095559e582d971b92cc Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Sat, 9 Apr 2011 13:53:23 +0000 Subject: [PATCH] fix q-bridge mib using $options, breaking other shit. git-svn-id: http://www.observium.org/svn/observer/trunk@2042 61d68cd4-352d-0410-923a-c4978735b2b8 --- includes/discovery/q-bridge-mib.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/discovery/q-bridge-mib.inc.php b/includes/discovery/q-bridge-mib.inc.php index 3c5f8d16e2..a9ebd9d334 100644 --- a/includes/discovery/q-bridge-mib.inc.php +++ b/includes/discovery/q-bridge-mib.inc.php @@ -8,7 +8,7 @@ if ($vlanversion == 'version1') { echo("VLAN $vlanversion "); - $vlans = snmp_walk($device, "dot1qVlanFdbId", $options = "-Oqn", $mib = "Q-BRIDGE-MIB"); + $vlans = snmp_walk($device, "dot1qVlanFdbId", $snmpoptions = "-Oqn", $mib = "Q-BRIDGE-MIB"); foreach (explode("\n", $vlans) as $vlan_oid) { @@ -55,4 +55,4 @@ unset($this_vlans); echo("\n"); -?> \ No newline at end of file +?>