From 22796347a6a0b0645c6bfdc9307e96003e800376 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 14 Feb 2004 02:07:04 +0000 Subject: fix automatically found "...2" dns --- perl-install/network/netconnect.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 6da6100d7..293d718f3 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -981,9 +981,9 @@ I cannot set up this connection type.")), return; static_hostname => { pre => sub { - $netc->{dnsServer} ||= dns($intf->{IPADDR}); - $gateway_ex = gateway($intf->{IPADDR}); - #- $netc->{GATEWAY} ||= gateway($intf->{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, -- cgit v1.2.1