summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakconnect
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-08-19 21:14:19 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-08-19 21:14:19 +0000
commita0f9c37e204280957edc334713683ef52e6bdf5d (patch)
tree21e9dc360e25373edd8c545be154af54c1058bd9 /perl-install/standalone/drakconnect
parenta734d29010de664475537036af64a9664960d78a (diff)
downloaddrakx-a0f9c37e204280957edc334713683ef52e6bdf5d.tar
drakx-a0f9c37e204280957edc334713683ef52e6bdf5d.tar.gz
drakx-a0f9c37e204280957edc334713683ef52e6bdf5d.tar.bz2
drakx-a0f9c37e204280957edc334713683ef52e6bdf5d.tar.xz
drakx-a0f9c37e204280957edc334713683ef52e6bdf5d.zip
readd LANGUAGE=C
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-xperl-install/standalone/drakconnect4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index 3b7b3b8af..182694abb 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -285,7 +285,7 @@ sub get_intf_ip {
my ($interface) = @_;
my ($ip, $state, $mask);
if (-x "/sbin/ifconfig") {
- local $_ = `LC_ALL=C /sbin/ifconfig $interface`;
+ local $_ = `LC_ALL=C LANGUAGE=C /sbin/ifconfig $interface`;
$ip = /inet addr:(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/mso ? $1 : N("No Ip");
$mask = /Mask:(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/mso ? $1 : N("No Mask");
$state = /inet/ ? "up" : "down";
@@ -329,7 +329,7 @@ sub apply() {
$button_apply->set_sensitive(0);
}
-sub ethisup { `LC_ALL=C /sbin/ifconfig $_[0]` =~ /inet/ }
+sub ethisup { `LC_ALL=C LANGUAGE=C /sbin/ifconfig $_[0]` =~ /inet/ }
sub update_intbutt() {
$int_state->set($isconnected ? N("Connected") : N("Not connected"));