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 <lehmanju@devpi.de>
This commit is contained in:
Julius Lehmann 2024-02-22 18:01:04 +01:00 committed by Robert Marko
parent 597f9cf6b3
commit 1d456c5e7a

View File

@ -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