diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-12 22:30:09 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-12 22:30:09 +0000 |
commit | 8551a9d778cfa9ae2656bc167376c313b25fa430 (patch) | |
tree | aa056fa1fe85868e4233c7da4698656f5c57d353 /perl-install/network/netconnect.pm | |
parent | f59baab5976948265cd839347cde693cb43a2c4a (diff) | |
download | drakx-backup-do-not-use-8551a9d778cfa9ae2656bc167376c313b25fa430.tar drakx-backup-do-not-use-8551a9d778cfa9ae2656bc167376c313b25fa430.tar.gz drakx-backup-do-not-use-8551a9d778cfa9ae2656bc167376c313b25fa430.tar.bz2 drakx-backup-do-not-use-8551a9d778cfa9ae2656bc167376c313b25fa430.tar.xz drakx-backup-do-not-use-8551a9d778cfa9ae2656bc167376c313b25fa430.zip |
ask isp for ip and gateway by default (#7705)
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r-- | perl-install/network/netconnect.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index ed073d6e2..a5899676b 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -478,8 +478,8 @@ killall pppd #my $secret = network::tools::read_secret_backend(); #my @cnx_list = map { $_->{server} } @$secret; $modem->{$_} ||= '' foreach qw(connection phone login passwd auth domain dns1 dns2); - $modem->{auto_gateway} ||= $modem->{Gateway} eq '0.0.0.0' ? N("Automatic") : N("Manual"); - $modem->{auto_ip} ||= $modem->{IPAdddr} eq '0.0.0.0' ? N("Automatic") : N("Manual"); + $modem->{auto_gateway} ||= $modem->{Gateway} ne '0.0.0.0' ? N("Manual") : N("Automatic"); + $modem->{auto_ip} ||= $modem->{IPAdddr} ne '0.0.0.0' ? N("Manual") : N("Automatic"); $modem->{auto_dns} ||= defined $modem->{dns1} || defined $modem->{dns2} ? N("Manual") : N("Automatic"); }, name => N("Dialup: account options"), |