summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-12-21 21:05:09 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-12-21 21:05:09 +0000
commita56e787d383fa2b2258467c577b91854c96123e6 (patch)
treed9fa9aa97ea59199f6f6283137fb44365f7acd44 /etc/inc
parent7c06959209748d55c232b6140689c8d10ddd5f6c (diff)
downloadpfsense-a56e787d383fa2b2258467c577b91854c96123e6.zip
pfsense-a56e787d383fa2b2258467c577b91854c96123e6.tar.gz
MFC use freebsd-sendfile
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/system.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index eadb100..1ea3b87 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -188,10 +188,10 @@ EOD;
if (isset($dnsmasqcfg['regdhcpstatic'])) {
foreach ($config['dhcpd'] as $dhcpif => $dhcpifconf)
if(is_array($dhcpifconf['staticmap']) && isset($dhcpifconf['enable']))
- foreach ($dhcpifconf['staticmap'] as $host)
+ foreach ($dhcpifconf['staticmap'] as $host)
if ($host['ipaddr'] && $host['hostname'])
$hosts .= "{$host['ipaddr']} {$host['hostname']}.{$syscfg['domain']} {$host['hostname']}\n";
- }
+ }
fwrite($fd, $hosts);
fclose($fd);
@@ -748,7 +748,7 @@ EOD;
############ Options you really have to take care of ####################
# FreeBSD!
-server.event-handler = "freebsd-kqueue"
+server.event-handler = "freebsd-sendfile"
## modules to load
server.modules = (
OpenPOWER on IntegriCloud