summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-09-17 15:59:29 +0000
committerdamien <damien@mandriva.com>2001-09-17 15:59:29 +0000
commit2c3cbdc328ce3b27ca2d132aa29bcc53723ed723 (patch)
treeea9861784eaf3ced7f8e24db6551fa87a24e9361 /perl-install
parentbb5e827a9187d671685e44489ad59d1dd03fb394 (diff)
downloaddrakx-2c3cbdc328ce3b27ca2d132aa29bcc53723ed723.tar
drakx-2c3cbdc328ce3b27ca2d132aa29bcc53723ed723.tar.gz
drakx-2c3cbdc328ce3b27ca2d132aa29bcc53723ed723.tar.bz2
drakx-2c3cbdc328ce3b27ca2d132aa29bcc53723ed723.tar.xz
drakx-2c3cbdc328ce3b27ca2d132aa29bcc53723ed723.zip
no expert mode needed to choose gateway
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 5676fb999..32642fdec 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -355,7 +355,7 @@ You may also enter the IP address of the gateway if you have one"),
[ { label => _("Host name"), val => \$netc->{HOSTNAME} },
{ label => _("DNS server"), val => \$netc->{dnsServer} },
{ label => _("Gateway"), val => \$netc->{GATEWAY} },
- if_($::expert,
+ if_(@devices > 1,
{ label => _("Gateway device"), val => \$netc->{GATEWAYDEV}, list => \@devices },
),
],