From: Philip Prindeville Date: Tue, 26 Oct 2021 21:59:16 +0000 (-0600) Subject: bind: detect new interfaces when they come up X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=049b25bcf9f4ad62ace89bcf9c83557856fd831a;p=openwrt-packages.git bind: detect new interfaces when they come up Reload the service when interfaces flap; note that libcap support is required to open new sockets on interfaces coming up during a reload, otherwise a full restart would be needed. Signed-off-by: Philip Prindeville --- diff --git a/net/bind/Makefile b/net/bind/Makefile index 796ea6ffe..df9ac4fae 100644 --- a/net/bind/Makefile +++ b/net/bind/Makefile @@ -69,6 +69,7 @@ endef define Package/bind-server $(call Package/bind/Default) TITLE+= DNS server + DEPENDS+= libcap endef define Package/bind-server/config @@ -135,7 +136,6 @@ export BUILD_CC="$(TARGET_CC)" TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed CONFIGURE_ARGS += \ - --disable-linux-caps \ --with-openssl="$(STAGING_DIR)/usr" \ --with-libtool \ --without-lmdb \