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
This commit is contained in:
Adam Amstrong
2011-04-09 13:53:23 +00:00
parent 461c0523c8
commit 56b4b27217
+2 -2
View File
@@ -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");
?>
?>