summaryrefslogtreecommitdiffstats
path: root/lib/network/network.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network/network.pm')
-rw-r--r--lib/network/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/network.pm b/lib/network/network.pm
index 62824d8..b2efee5 100644
--- a/lib/network/network.pm
+++ b/lib/network/network.pm
@@ -723,7 +723,7 @@ sub detect_crda_domain() {
if (!$crda) {
my $locale = lang::read($>);
my $country = $locale->{country};
- if (grep($country, @crda_domains)) {
+ if (member($country, @crda_domains)) {
$crda = $country;
} else {
$crda = "US";