kea: handle network reconfiguration without restarting
authorPhilip Prindeville <redacted>
Mon, 1 Jun 2026 03:05:53 +0000 (21:05 -0600)
committerPhilip Prindeville <redacted>
Mon, 1 Jun 2026 15:25:37 +0000 (09:25 -0600)
Currently if a dynamic interface changes (VLAN, tunnel, etc)
that Kea is listening on, it needs to be told externally to
restart.  The re-detect option avoids this.

Signed-off-by: Philip Prindeville <redacted>
net/kea/Makefile
net/kea/files/dhcp4.sh

index 47dff03b7499b80e204fb923ee243821921239bc..6f6e8c4ad7216f26d67b18a56c357df0e5cc6f30 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=kea
 PKG_VERSION:=3.0.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://ftp.isc.org/isc/kea/$(PKG_VERSION)
index 615c0ce8ed00f88ecea1ea3896f1b2aa977b0993..7b111ecf3a9576604845369398e6c077d4160ebc 100755 (executable)
@@ -866,7 +866,7 @@ general_config() {
        # will populate later
        json_close_array                # interfaces
 
-       json_add_boolean "re-detect" 0
+       json_add_boolean "re-detect" 1
        json_add_string "dhcp-socket-type" "raw"
        json_add_string "outbound-interface" "same-as-inbound"
        json_close_object               # interfaces-config
git clone https://git.99rst.org/PROJECT