netifd: add support for suppressing the DHCP request hostname by setting it to *
authorFelix Fietkau <nbd@nbd.name>
Wed, 13 Mar 2019 11:45:13 +0000 (12:45 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sat, 16 Mar 2019 18:59:02 +0000 (19:59 +0100)
commitfd8ca8deb3197a2867d85fc3513f5aa70912ee40
treef72178347da74fcde970166541adb646247f75c4
parent5cda4a3e309faa314bab6297958db2413eeacdf3
netifd: add support for suppressing the DHCP request hostname by setting it to *

dnsmasq (and probably other DHCP servers as well) does not like to hand out
leases with duplicate host names.
Adding support for skipping the hostname makes it easier to deploy setups
where it is not guaranteed to be unique

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/config/netifd/files/lib/netifd/proto/dhcp.sh