dnsmasq: add some default values of dhcp.conf
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>
This commit is contained in:
parent
6f30f08d0e
commit
85767ac8fe
2 changed files with 5 additions and 2 deletions
|
|
@ -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/
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue