diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-16 16:54:01 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-16 16:54:01 +0000 |
commit | 1c90abdf1eb4a48ec920a3d0538849ac9fd21c6f (patch) | |
tree | a85076ed0f63d0be299b0365be54a1f7926df94b /perl-install/network | |
parent | ba8e8f1212675679d40009210454f62d26db2182 (diff) | |
download | drakx-1c90abdf1eb4a48ec920a3d0538849ac9fd21c6f.tar drakx-1c90abdf1eb4a48ec920a3d0538849ac9fd21c6f.tar.gz drakx-1c90abdf1eb4a48ec920a3d0538849ac9fd21c6f.tar.bz2 drakx-1c90abdf1eb4a48ec920a3d0538849ac9fd21c6f.tar.xz drakx-1c90abdf1eb4a48ec920a3d0538849ac9fd21c6f.zip |
fix automatically found "...2" dns when network is done
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/netconnect.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 0fd988180..d95b099e2 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -982,9 +982,11 @@ I cannot set up this connection type.")), return; static_hostname => { pre => sub { - $netc->{dnsServer} ||= dns($ethntf->{IPADDR}); - $gateway_ex = gateway($ethntf->{IPADDR}); - #- $netc->{GATEWAY} ||= gateway($ethntf->{IPADDR}); + if ($ethntf->{IPADDR}) { + $netc->{dnsServer} ||= dns($ethntf->{IPADDR}); + $gateway_ex = gateway($ethntf->{IPADDR}); + # $netc->{GATEWAY} ||= gateway($ethntf->{IPADDR}); + } }, name => N("Please enter your host name. Your host name should be a fully-qualified host name, |