summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-11-16 16:52:04 +0000
committerErmal Luçi <eri@pfsense.org>2008-11-16 16:52:04 +0000
commit56e5f8472291d7aa837697202c7891e1ad0b4e7f (patch)
treef05a1bd110efe66abe660c8b4f6a65330cf94882 /etc
parentcfb2e4a4253f5f0ee925b946dcfa6ab74b5fa7eb (diff)
downloadpfsense-56e5f8472291d7aa837697202c7891e1ad0b4e7f.zip
pfsense-56e5f8472291d7aa837697202c7891e1ad0b4e7f.tar.gz
Obey the dnsallowoverride option even for secondary dns on pppoe interface.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 550cf19..469e611 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1572,7 +1572,7 @@ EOD;
EOD;
}
- if (!isset($wancfg['dnsnosec'])) {
+ if (!isset($wancfg['dnsnosec']) && isset($config['system']['dnsallowoverride'])) {
$mpdconf .= <<<EOD
set ipcp enable req-sec-dns
@@ -1937,4 +1937,4 @@ function get_interface_mac($interface)
return $mac;
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud