Project

General

Profile

Actions

Bug #10270

closed

OMAPI / disableauthoritative / alwaysbroadcast not saved inside dhcpd.conf

Added by Manuel Piovan about 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DHCP (IPv4)
Target version:
Start date:
02/19/2020
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
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

Actions #1

Updated by Jim Pingle about 4 years ago

  • Target version set to 2.5.0
Actions #2

Updated by Jim Pingle about 4 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.

Actions #3

Updated by Anonymous over 3 years ago

  • Assignee set to Jim Pingle
Actions #5

Updated by Renato Botelho over 3 years ago

  • Status changed from New to Feedback

PR has been merged. Thanks!

Actions #6

Updated by Danilo Zrenjanin over 3 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.

Actions

Also available in: Atom PDF