Revision 53f32329
Added by Scott Ullrich over 18 years ago
etc/inc/services.inc | ||
---|---|---|
107 | 107 |
option domain-name "{$syscfg['domain']}"; |
108 | 108 |
default-lease-time 7200; |
109 | 109 |
max-lease-time 86400; |
110 |
authoritative; |
|
111 | 110 |
log-facility local7; |
112 | 111 |
ddns-update-style none; |
113 | 112 |
one-lease-per-client true; |
... | ... | |
122 | 121 |
*/ |
123 | 122 |
$dhcpnum = 0; |
124 | 123 |
foreach ($dhcpdcfg as $dhcpif => $dhcpifconf) { |
124 |
|
|
125 |
if(!isset($dhcpifconf['disableauthoritative'])) |
|
126 |
$dhcpdconf .= "authoritative;\n"; |
|
127 |
|
|
125 | 128 |
if($dhcpifconf['failover_peerip'] <> "") { |
126 | 129 |
/* |
127 | 130 |
* yep, failover peer is defined. |
Also available in: Unified diff
Add hidden command to disable authoritative mode (dhcp server).
To utilize do something like this in php pfSense shell:
$config['dhcpd']['optx']['disableauthoritative'] = true;
write_config();