diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-12-21 21:05:09 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-12-21 21:05:09 +0000 |
commit | a56e787d383fa2b2258467c577b91854c96123e6 (patch) | |
tree | d9fa9aa97ea59199f6f6283137fb44365f7acd44 /etc/inc | |
parent | 7c06959209748d55c232b6140689c8d10ddd5f6c (diff) | |
download | pfsense-a56e787d383fa2b2258467c577b91854c96123e6.zip pfsense-a56e787d383fa2b2258467c577b91854c96123e6.tar.gz |
MFC use freebsd-sendfile
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/system.inc | 6 |
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 = ( |