summaryrefslogtreecommitdiffstats
path: root/perl-install/network
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/network
parentbb5e827a9187d671685e44489ad59d1dd03fb394 (diff)
downloaddrakx-backup-do-not-use-2c3cbdc328ce3b27ca2d132aa29bcc53723ed723.tar
drakx-backup-do-not-use-2c3cbdc328ce3b27ca2d132aa29bcc53723ed723.tar.gz
drakx-backup-do-not-use-2c3cbdc328ce3b27ca2d132aa29bcc53723ed723.tar.bz2
drakx-backup-do-not-use-2c3cbdc328ce3b27ca2d132aa29bcc53723ed723.tar.xz
drakx-backup-do-not-use-2c3cbdc328ce3b27ca2d132aa29bcc53723ed723.zip
no expert mode needed to choose gateway
Diffstat (limited to 'perl-install/network')
-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 },
),
],