From d1636f0fe918c1be62c2eada7a020f99517206d8 Mon Sep 17 00:00:00 2001 From: Max Baker <> Date: Tue, 17 Jan 2006 04:18:10 +0000 Subject: [PATCH] fix a small warning --- Info/Layer2/Allied.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Info/Layer2/Allied.pm b/Info/Layer2/Allied.pm index 0c9245b7..6bbb7d3d 100644 --- a/Info/Layer2/Allied.pm +++ b/Info/Layer2/Allied.pm @@ -119,10 +119,10 @@ sub i_up { my $allied = shift; my $i_up = SNMP::Info::Layer1::i_up($allied); - my $i_up2 = $allied->i_up2(); + #my $i_up2 = $allied->i_up2() || {}; - foreach my $port (keys %$ati_up){ - my $up = $ati_up->{$port}; + foreach my $port (keys %$i_up){ + my $up = $i_up->{$port}; $i_up->{$port} = 'down' if $up eq 'linktesterror'; $i_up->{$port} = 'up' if $up eq 'nolinktesterror'; }