mirror of
https://github.com/openwrt/openwrt.git
synced 2026-12-05 21:45:42 +04:00
odhcpd: don't preset the DHCPv4 pool in new configs
odhcpd determines the DHCPv4 pool itself if start and limit are unset (openwrt/odhcpd#399), but new configs get start 100 and limit 150. Leave them out; existing configs are unchanged. Signed-off-by: David Härdeman <david@hardeman.nu> Link: https://github.com/openwrt/openwrt/pull/27183 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
1 parent
35e05433e3
commit
9b6ef8e510
1 file changed
-2
@@ -61,8 +61,6 @@ uci -q get dhcp.lan || {
|
||||
uci batch <<EOF
|
||||
set dhcp.lan=dhcp
|
||||
set dhcp.lan.interface='lan'
|
||||
set dhcp.lan.start='100'
|
||||
set dhcp.lan.limit='150'
|
||||
set dhcp.lan.leasetime='12h'
|
||||
set dhcp.lan.domain='lan'
|
||||
EOF
|
||||
|
||||
Reference in new issue
Block a user