improvements
This commit is contained in:
parent
640ded52ec
commit
5500f73824
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user