]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
dnsmasq: add some default values of dhcp.conf 23445/head
authorAndy Chiang <AndyChiang_git@outlook.com>
Wed, 20 May 2026 05:34:45 +0000 (12:34 +0700)
committerRobert Marko <robimarko@gmail.com>
Wed, 1 Jul 2026 17:07:55 +0000 (19:07 +0200)
add ra/dhcpv4/dhcpv6

dhcpv6 service provided by dnsmasq without odhcpd

Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/23445
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/network/services/dnsmasq/Makefile
package/network/services/dnsmasq/files/dhcp.conf

index 19ae7b7cd15abe58f313ff2334cf405fd7f45648..ac737f51059a16838effcc3cebe4593f4e915f08 100644 (file)
@@ -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/
index d5b9dfa018c146a0031920f75c4614f9b2681c4b..415e63dffc799c85b35fcf869cf96e3e730194b3 100644 (file)
@@ -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