Revision 0b95ff4c
Added by Jose Luis Duran about 9 years ago
src/etc/inc/services.inc | ||
---|---|---|
898 | 898 |
$dhcpdconf .= " max-lease-time {$poolconf['maxleasetime']};\n"; |
899 | 899 |
} |
900 | 900 |
|
901 |
// ignore bootp |
|
902 |
if (isset($poolconf['ignorebootp'])) { |
|
903 |
$dhcpdconf .= " ignore bootp;\n"; |
|
904 |
} |
|
905 |
|
|
901 | 906 |
// netbios-name* |
902 | 907 |
if (is_array($poolconf['winsserver']) && $poolconf['winsserver'][0] && ($poolconf['winsserver'][0] != $dhcpifconf['winsserver'][0])) { |
903 | 908 |
$dhcpdconf .= " option netbios-name-servers " . join(",", $poolconf['winsserver']) . ";\n"; |
Also available in: Unified diff
services_dhcp: Ignore BOOTP queries
BOOTP leases do not have a maximum lease time by default, this could
potentially lead to a DHCP address pool exhaustion.
This commit adds an option to ignore BOOTP queries.
Redmine #4351
(cherry picked from commit 6d53301b1f612ff3e0490abbb46b53c50193b80b)