diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | lib/network/network.pm | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,6 @@ +- fix CRDA never set to 'US' when country not in CRDA domains + (might help #1015 & the like) + 1.4: - adapt to drakxtools-13.92+ API change (reduces net_applet resident memory) 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"; |