aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/ipv6/odhcp6c/files/dhcpv6.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/ipv6/odhcp6c/files/dhcpv6.sh')
-rwxr-xr-xpackage/network/ipv6/odhcp6c/files/dhcpv6.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/ipv6/odhcp6c/files/dhcpv6.sh b/package/network/ipv6/odhcp6c/files/dhcpv6.sh
index bc7f01d322..5c2ee6b988 100755
--- 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