#330 fix redefine of port variable

This commit is contained in:
Oliver Gorwits
2019-04-28 19:56:39 +01:00
parent f3f01d5f15
commit 6341ad15f8
2 changed files with 2 additions and 2 deletions

View File

@@ -150,7 +150,7 @@ sub interfaces {
my $port = $i_descr->{$iid};
next unless defined $port;
my $port = SNMP::Info::munge_null($port);
$port = SNMP::Info::munge_null($port);
$port =~ s/^\s+//; $port =~ s/\s+$//;
next unless length $port;