Project

General

Profile

Bug #10270

OMAPI / disableauthoritative / alwaysbroadcast not saved inside dhcpd.conf

Added by Manuel Piovan about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
DHCP Server
Target version:
Start date:
02/19/2020
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.5.x
Affected Architecture:

Description

discussion here
https://forum.netgate.com/topic/150658/no-config-entry-for-omapi

with multiple lan network if i set OMAPI the generated dhcpd.conf does not contain any configuration about OMAPI

History

#1 Updated by Jim Pingle about 1 month ago

  • Target version set to 2.5.0

#2 Updated by Jim Pingle about 1 month ago

From my comments on that thread (slightly edited to make sense here):

It's using a variable set inside the per-interface foreach outside of the foreach, so the results may be unpredictable depending on whether it's set on the last interface or not. It's trying to take a per-interface setting and trying to apply it globally.

The code right above that for disableauthoritative and alwaysbroadcast has the same problem.

There is an open request to make a dedicated settings tab at #5080 which may be the end result here, though the items mentioned on that issue are not all relevant or likely to happen in this release.

Also available in: Atom PDF