summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_interfaces.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/status_interfaces.php')
-rw-r--r--src/usr/local/www/status_interfaces.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/status_interfaces.php b/src/usr/local/www/status_interfaces.php
index 05e0671..42be7df 100644
--- a/src/usr/local/www/status_interfaces.php
+++ b/src/usr/local/www/status_interfaces.php
@@ -124,7 +124,7 @@ foreach ($ifdescrs as $ifdescr => $ifname):
showDef($ifinfo['subnetv6'], gettext('Subnet mask IPv6'), $ifinfo['subnetv6']);
showDef($ifinfo['gatewayv6'], gettext("Gateway IPv6"), $config['interfaces'][$ifdescr]['gatewayv6'] . " " . $ifinfo['gatewayv6']);
- if ($ifdescr == "wan" && file_exists("{$g['varetc_path']}/resolv.conf")) {
+ if ($ifdescr == "wan" && file_exists("{$g['etc_path']}/resolv.conf")) {
$dns_servers = get_dns_servers();
$dnscnt = 0;
foreach ($dns_servers as $dns) {
OpenPOWER on IntegriCloud