diff options
author | Florent Villard <warly@mandriva.com> | 2003-03-09 07:10:43 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2003-03-09 07:10:43 +0000 |
commit | 2632a8bfd6bd668f1b5e4dadc22015cc0cdec9ce (patch) | |
tree | c3a1446a1b903deb9d01ee4cbefcc32c97a56b90 /dhcp_wizard | |
parent | 719e1ecbe634f0571263c02906703c40cc55a5fa (diff) | |
download | drakwizard-2632a8bfd6bd668f1b5e4dadc22015cc0cdec9ce.tar drakwizard-2632a8bfd6bd668f1b5e4dadc22015cc0cdec9ce.tar.gz drakwizard-2632a8bfd6bd668f1b5e4dadc22015cc0cdec9ce.tar.bz2 drakwizard-2632a8bfd6bd668f1b5e4dadc22015cc0cdec9ce.tar.xz drakwizard-2632a8bfd6bd668f1b5e4dadc22015cc0cdec9ce.zip |
send the servier IP in dhcp wizard if 127.0.0.1 is its nameserver
Diffstat (limited to 'dhcp_wizard')
-rw-r--r-- | dhcp_wizard/scripts/Dhcpconf.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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`; |