diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-05-28 19:50:35 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-05-28 19:50:35 +0000 |
commit | 77f32eff43adbb0eef120219dad9d3d07305ac48 (patch) | |
tree | fc91dd5957f2ebef2b1de2c55c0f8d068ffb8785 /etc/inc/services.inc | |
parent | 1c26f643d1953124e4e7f1875bd8ab469ac957bb (diff) | |
download | pfsense-77f32eff43adbb0eef120219dad9d3d07305ac48.zip pfsense-77f32eff43adbb0eef120219dad9d3d07305ac48.tar.gz |
Add check for DHCP on WAN too. It's required by OLSR in some cases.
Diffstat (limited to 'etc/inc/services.inc')
-rw-r--r-- | etc/inc/services.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index 9a9f6d3..bea8a5f 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -79,6 +79,10 @@ function services_dhcpd_configure() { (isset($config['interfaces'][$dhcpif]['enable']) && $config['interfaces'][$dhcpif]['if'] && (!$config['interfaces'][$dhcpif]['bridge'])))) $dhcpdenable = true; + if (isset($dhcpifconf['enable']) && + (($dhcpif == "wan") || (isset($config['interfaces'][$dhcpif]['enable']) && + $config['interfaces'][$dhcpif]['if'] && (!$config['interfaces'][$dhcpif]['bridge'])))) + $dhcpdenable = true; } if (!$dhcpdenable) |