summaryrefslogtreecommitdiffstats
path: root/dhcp_wizard/scripts/Dhcpconf.pm
diff options
context:
space:
mode:
Diffstat (limited to 'dhcp_wizard/scripts/Dhcpconf.pm')
-rw-r--r--dhcp_wizard/scripts/Dhcpconf.pm2
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`;