mirror of https://github.com/hak5/openwrt-owl.git
netifd: quote vendorid and hostname variables in dhcp script
Quote hostname and vendorid variables in dhcp script so they can hold strings having white spaces Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>owl
parent
cef1f4ef2b
commit
99e5bec2c6
|
@ -56,8 +56,8 @@ proto_dhcp_setup() {
|
|||
-s /lib/netifd/dhcp.script \
|
||||
-f -t 0 -i "$iface" \
|
||||
${ipaddr:+-r $ipaddr} \
|
||||
${hostname:+-H $hostname} \
|
||||
${vendorid:+-V $vendorid} \
|
||||
${hostname:+-H "$hostname"} \
|
||||
${vendorid:+-V "$vendorid"} \
|
||||
$clientid $broadcast $release $dhcpopts
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue