Bug #10270
closedOMAPI / disableauthoritative / alwaysbroadcast not saved inside dhcpd.conf
0%
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
Updated by Jim Pingle almost 5 years 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.
Updated by Viktor Gurov about 4 years ago
Updated by Renato Botelho about 4 years ago
- Status changed from New to Feedback
PR has been merged. Thanks!
Updated by Danilo Zrenjanin about 4 years ago
- Status changed from Feedback to Resolved
Tested on:
2.5.0-DEVELOPMENT (amd64) built on Fri Nov 13 19:02:04 EST 2020 FreeBSD 12.2-STABLE
It looks good now.
sockstat | grep 7911 dhcpd dhcpd 57562 9 tcp4 *:7911 *:*
Ticket resolved.