summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draknet
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-04-03 07:31:08 +0000
committerdamien <damien@mandriva.com>2001-04-03 07:31:08 +0000
commit08448e69553475ab11a9b4fe0dc49e4379f1671b (patch)
tree73be815ca885907ccb67b7bba9273a4ffe661b06 /perl-install/standalone/draknet
parent26528d1d90b95be6d47ca9de349fdc5366b3efee (diff)
downloaddrakx-backup-do-not-use-08448e69553475ab11a9b4fe0dc49e4379f1671b.tar
drakx-backup-do-not-use-08448e69553475ab11a9b4fe0dc49e4379f1671b.tar.gz
drakx-backup-do-not-use-08448e69553475ab11a9b4fe0dc49e4379f1671b.tar.bz2
drakx-backup-do-not-use-08448e69553475ab11a9b4fe0dc49e4379f1671b.tar.xz
drakx-backup-do-not-use-08448e69553475ab11a9b4fe0dc49e4379f1671b.zip
typo
Diffstat (limited to 'perl-install/standalone/draknet')
-rwxr-xr-xperl-install/standalone/draknet4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/draknet b/perl-install/standalone/draknet
index ad65b951b..da59dce32 100755
--- a/perl-install/standalone/draknet
+++ b/perl-install/standalone/draknet
@@ -223,7 +223,7 @@ foreach (0..$#all_cards) {
if (-e "/sbin/ifconfig") {
local $_=`LC_ALL=C LANG=C LANGUAGE=C LC_MESSAGES=C /sbin/ifconfig "eth$_"`;
/inet addr\:$ip_regexp/; $ip = "$1.$2.$3.$4";
- } else { $intf->{"eth$_"}{IPADDR} }
+ } else { $ip=$intf->{"eth$_"}{IPADDR} }
$clist1->append($_+1, "eth$_", $ip , $intf->{"eth$_"}{BOOTPROTO}, $all_cards[$_]->[1]);
$clist1->set_selectable($_, 0);
}
@@ -342,7 +342,7 @@ sub update {
if (-e "/sbin/ifconfig") {
local $_=`LC_ALL=C LANG=C LANGUAGE=C LC_MESSAGES=C /sbin/ifconfig "eth$_"`;
/inet addr\:$ip_regexp/; $ip = "$1.$2.$3.$4";
- } else { $intf->{"eth$_"}{IPADDR} }
+ } else { $ip=$intf->{"eth$_"}{IPADDR} }
$clist1->append($_+1, "eth$_", $intf->{"eth$_"}{IPADDR}, $intf->{"eth$_"}{BOOTPROTO}, $all_cards[$_]->[1]);
$clist1->set_selectable($_, 0);
}