Commit f12cd96f authored by Christopher Alfeld's avatar Christopher Alfeld

Stupid scope bug.

parent e90817b2
......@@ -250,7 +250,7 @@ sub get_macs {
push(@$macs,@{$vlanmap{"ddst_$_[0]"}});
}
if (defined($links{$_[0]})) {
($src,$dst) = @{$links{$_[0]}};
my($src,$dst) = @{$links{$_[0]}};
if (&islan($src)) {
push(@$macs,@{$vlanmap{$src}});
} elsif (&islan($dst)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment