projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netifd: quote vendorid and hostname variables in dhcp script
[openwrt/staging/chunkeey.git]
/
package
/
network
/
config
/
netifd
/
files
/
lib
/
netifd
/
proto
/
dhcp.sh
diff --git
a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
index 7085bd2aa61c94e4d789e57e95807ecfc220cdeb..abfdaaffdd1ceba418dc2736c4355787797af84e 100755
(executable)
--- a/
package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
+++ b/
package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
@@
-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
}