netifd: Use -x hostname:$hostname instead of -H
[openwrt/openwrt.git] / package / network / config / netifd / files / lib / netifd / proto / dhcp.sh
index abfdaaf..1d3a209 100755 (executable)
@@ -56,7 +56,7 @@ proto_dhcp_setup() {
                -s /lib/netifd/dhcp.script \
                -f -t 0 -i "$iface" \
                ${ipaddr:+-r $ipaddr} \
-               ${hostname:+-H "$hostname"} \
+               ${hostname:+-x "hostname:$hostname"} \
                ${vendorid:+-V "$vendorid"} \
                $clientid $broadcast $release $dhcpopts
 }