dnsmasq: Fix wrong format for --dhcp-boot option
authorJulius Lehmann <lehmanju@devpi.de>
Thu, 22 Feb 2024 17:01:04 +0000 (18:01 +0100)
committerRobert Marko <robimarko@gmail.com>
Mon, 26 Feb 2024 20:24:37 +0000 (21:24 +0100)
dnsmasq --dhcp-boot option uses 'tag' instead of 'net' to specify tags

Signed-off-by: Julius Lehmann <lehmanju@devpi.de>
package/network/services/dnsmasq/files/dnsmasq.init

index b43abdb8f75334d1b884d8638b96230e1f521cb2..138a913f87f3d9667bbfebe07e4ee01c2b31fe2d 100755 (executable)
@@ -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