projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
odhcp6c: fix appending of emtpy sendopt value (FS#1336)
[openwrt/staging/mkresin.git]
/
package
/
network
/
ipv6
/
odhcp6c
/
files
/
dhcpv6.sh
diff --git
a/package/network/ipv6/odhcp6c/files/dhcpv6.sh
b/package/network/ipv6/odhcp6c/files/dhcpv6.sh
index bc7f01d3220a20686ace80304a26e6f6daad11cf..5c2ee6b988ca085337201a97ad8a80a1c9bb38e8 100755
(executable)
--- a/
package/network/ipv6/odhcp6c/files/dhcpv6.sh
+++ b/
package/network/ipv6/odhcp6c/files/dhcpv6.sh
@@
-77,7
+77,7
@@
proto_dhcpv6_setup() {
sendopts_cb() {
local val="$1"
- append opts "-x$val"
+
[ -n "$val" ] &&
append opts "-x$val"
}
json_for_each_item sendopts_cb sendopts