Skip Menu |

This queue is for tickets about the SNMP-Info CPAN distribution.

Report information
The Basics
Id: 6366
Status: resolved
Priority: 0/
Queue: SNMP-Info

People
Owner: EMILLER [...] cpan.org
Requestors: ian [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.8
Fixed in: 0.9.0



Subject: Quick documentation fix in SNMP::Info::Bridge
http://search.cpan.org/src/MAXB/SNMP-Info-0.8/Info/Bridge.pm In the synopsis (around line 141), the example uses $fw_mac twice. It should use $fw_mac and $fw_port, like so: foreach my $fw_index (keys %$fw_mac){ my $mac = $fw_mac->{$fw_index}; my $bp_id = $fw_port->{$fw_index}; my $iid = $bp_index->{$bp_id}; my $port = $interfaces->{$iid};
--- Bridge.pm 2004/03/02 04:57:04 1.12 +++ Bridge.pm 2004/06/19 23:14:09 1.13 @@ -33,7 +33,7 @@ package SNMP::Info::Bridge; $VERSION = 0.8; -# $Id: Bridge.pm,v 1.12 2004/03/02 04:57:04 maxbaker Exp $ +# $Id: Bridge.pm,v 1.13 2004/06/19 23:14:09 maxbaker Exp $ use strict; @@ -159,7 +159,7 @@ foreach my $fw_index (keys %$fw_mac){ my $mac = $fw_mac->{$fw_index}; - my $bp_id = $fw_mac->{$fw_index}; + my $bp_id = $fw_port->{$fw_index}; my $iid = $bp_index->{$bp_id}; my $port = $interfaces->{$iid};
Fixed in 0.9.0