From 2632a8bfd6bd668f1b5e4dadc22015cc0cdec9ce Mon Sep 17 00:00:00 2001 From: Florent Villard Date: Sun, 9 Mar 2003 07:10:43 +0000 Subject: send the servier IP in dhcp wizard if 127.0.0.1 is its nameserver --- dhcp_wizard/scripts/Dhcpconf.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dhcp_wizard') diff --git a/dhcp_wizard/scripts/Dhcpconf.pm b/dhcp_wizard/scripts/Dhcpconf.pm index 1f319eb5..ea06660e 100644 --- a/dhcp_wizard/scripts/Dhcpconf.pm +++ b/dhcp_wizard/scripts/Dhcpconf.pm @@ -76,7 +76,7 @@ sub do_it { my $wiz_gateway = $o->network_get("GATEWAY"); my $wiz_dns = $o->network_get("dnsServer"); if ($wiz_dns eq '127.0.0.1') { - $wiz_dns = $o->network_get("dnsServer2") || $wiz_dns + $wiz_dns = $wiz_ip_server } if (!$wiz_gateway) { my $t = `LC_ALL=C /sbin/ip route list scope global`; -- cgit v1.2.1