summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/printer/detect.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/printer/detect.pm b/perl-install/printer/detect.pm
index 1f6e06977..d02e89ac3 100644
--- a/perl-install/printer/detect.pm
+++ b/perl-install/printer/detect.pm
@@ -398,7 +398,7 @@ sub getIPsInLocalNetworks() {
# Now find all addresses in the local networks which we will investigate
my @addresses;
- foreach $dev (keys %{$local_nets}) {
+ foreach my $dev (keys %{$local_nets}) {
my $ip = $local_nets->{$dev}{ip};
my $bcast = $local_nets->{$dev}{bcast};
my $mask = $local_nets->{$dev}{mask};