Revision 063e0792
Added by Jim Pingle over 12 years ago
usr/local/www/services_dhcp.php | ||
---|---|---|
196 | 196 |
$ifcfgip = $config['interfaces'][$if]['ipaddr']; |
197 | 197 |
$ifcfgsn = $config['interfaces'][$if]['subnet']; |
198 | 198 |
|
199 |
/* set the enabled flag which will tell us if DHCP relay is enabled |
|
200 |
* on any interface. We will use this to disable DHCP server since |
|
201 |
* the two are not compatible with each other. |
|
202 |
*/ |
|
203 |
|
|
204 | 199 |
function is_inrange($test, $start, $end) { |
205 | 200 |
if ( (ip2ulong($test) < ip2ulong($end)) && (ip2ulong($test) > ip2ulong($start)) ) |
206 | 201 |
return true; |
Also available in: Unified diff
Remove this now-irrelevant comment.