improvements

This commit is contained in:
lissav 2014-02-18 11:08:22 -05:00
parent 640ded52ec
commit 5500f73824

View File

@ -279,7 +279,7 @@ sub getzoneinfo
$zonehash->{$zonename}->{defaultzone}= $zone->{defaultzone};
# find the defaultzone
if ((defined($zone->{defaultzone})) &&
(($zone->{defaultzone} =~ /yes/i) or ($zone->{defaultzone} eq "1"))) {
(($zone->{defaultzone} =~ "yes") || ($zone->{defaultzone} = "1"))) {
$defaultzone = $zone->{zonename};
}
}
@ -324,6 +324,6 @@ sub getzoneinfo
}
}
}
return $zonehash;
return;
}
1;