From: Julius Lehmann Date: Thu, 22 Feb 2024 17:01:04 +0000 (+0100) Subject: dnsmasq: Fix wrong format for --dhcp-boot option X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1d456c5e7aa27a7501ad03fef3a70520bd22c206;p=openwrt%2Fstaging%2Fthess.git dnsmasq: Fix wrong format for --dhcp-boot option dnsmasq --dhcp-boot option uses 'tag' instead of 'net' to specify tags Signed-off-by: Julius Lehmann --- diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index b43abdb8f7..138a913f87 100755 --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -502,7 +502,7 @@ dhcp_boot_add() { [ -n "$serveraddress" ] && [ ! -n "$servername" ] && return 0 - xappend "--dhcp-boot=${networkid:+net:$networkid,}${filename}${servername:+,$servername}${serveraddress:+,$serveraddress}" + xappend "--dhcp-boot=${networkid:+tag:$networkid,}${filename}${servername:+,$servername}${serveraddress:+,$serveraddress}" config_get_bool force "$cfg" force 0