summaryrefslogtreecommitdiffstats
path: root/etc/inc/unbound.inc
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2011-10-01 22:07:29 +0200
committerWarren Baker <warren@decoy.co.za>2011-10-01 22:07:29 +0200
commita57399f4129f962c17eb38f6f8ad9261053e8178 (patch)
tree1d0794c57f332fc147516ce89e40ef40e87fb26e /etc/inc/unbound.inc
parent4f9de9b540b35c1c66f6eae6ebdab8a43d7d2bad (diff)
downloadpfsense-a57399f4129f962c17eb38f6f8ad9261053e8178.zip
pfsense-a57399f4129f962c17eb38f6f8ad9261053e8178.tar.gz
Update comments and to do
Diffstat (limited to 'etc/inc/unbound.inc')
-rw-r--r--etc/inc/unbound.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/unbound.inc b/etc/inc/unbound.inc
index 3fcaa46..08a5bb0 100644
--- a/etc/inc/unbound.inc
+++ b/etc/inc/unbound.inc
@@ -442,7 +442,9 @@ function unbound_add_host_entries() {
/* Read /etc/hosts */
function read_hosts() {
- // Open /etc/hosts and extract the only dhcpleases info
+ /* Open /etc/hosts and extract the only dhcpleases info
+ * XXX - to convert to an unbound C library which reads /etc/hosts automatically
+ */
$etc_hosts = array();
foreach (file('/etc/hosts') as $line) {
$d = preg_split('/\s/', $line, -1, PREG_SPLIT_NO_EMPTY);
OpenPOWER on IntegriCloud