While trying to document the dhcp UCI config, I noticed that the name config option is applied wrongly when adding static addresses. Cf. the dnsmasq man page.
Signed-off-by: Stefan Bethke <[email protected]> Index: package/dnsmasq/files/dnsmasq.init =================================================================== --- package/dnsmasq/files/dnsmasq.init (revision 18932) +++ package/dnsmasq/files/dnsmasq.init (working copy) @@ -180,7 +180,7 @@ config_get ip "$cfg" ip [ -n "$ip" ] || return 0 - append args "--dhcp-host=$mac,$ip${name:+,$name}" + append args "--dhcp-host=$mac,${name:+net:$name,}$ip" } dhcp_mac_add() { -- Stefan Bethke <[email protected]> Fon +49 151 14070811 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
