From: Andy Chiang Date: Wed, 20 May 2026 05:34:45 +0000 (+0700) Subject: dnsmasq: add some default values of dhcp.conf X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=85767ac8fe8191d90f959e30d87f92ea3c75b4e1;p=thirdparty%2Fopenwrt.git dnsmasq: add some default values of dhcp.conf add ra/dhcpv4/dhcpv6 dhcpv6 service provided by dnsmasq without odhcpd Signed-off-by: Andy Chiang Link: https://github.com/openwrt/openwrt/pull/23445 Signed-off-by: Robert Marko --- diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile index 19ae7b7cd15..ac737f51059 100644 --- a/package/network/services/dnsmasq/Makefile +++ b/package/network/services/dnsmasq/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dnsmasq PKG_UPSTREAM_VERSION:=2.93 PKG_VERSION:=$(subst test,~~test,$(subst rc,~rc,$(PKG_UPSTREAM_VERSION))) -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_UPSTREAM_VERSION).tar.xz PKG_SOURCE_URL:=https://thekelleys.org.uk/dnsmasq/ diff --git a/package/network/services/dnsmasq/files/dhcp.conf b/package/network/services/dnsmasq/files/dhcp.conf index d5b9dfa018c..415e63dffc7 100644 --- a/package/network/services/dnsmasq/files/dhcp.conf +++ b/package/network/services/dnsmasq/files/dhcp.conf @@ -28,9 +28,12 @@ config dnsmasq config dhcp lan option interface lan - option start 100 + option start 100 option limit 150 option leasetime 12h + option ra server + option dhcpv4 server + option dhcpv6 server config dhcp wan option interface wan