summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-11-21 14:05:01 -0200
committerRenato Botelho <renato@netgate.com>2016-11-21 14:06:16 -0200
commitfc84b222e75c9d92e394a2e9ddb80c5ead382f52 (patch)
tree6d6882e1f9de2c725bf2f6894cce8c904990a839 /src/usr/local
parenta5dd605a246065e480b3b05c47da8e5aee1885e3 (diff)
downloadpfsense-fc84b222e75c9d92e394a2e9ddb80c5ead382f52.zip
pfsense-fc84b222e75c9d92e394a2e9ddb80c5ead382f52.tar.gz
Remove config files symlinks from /etc to /var/etc. Fixes #5538
Diffstat (limited to 'src/usr/local')
-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