aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/udhcpc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/udhcpc.sh b/net/udhcpc.sh
index 4eb0b513..d0018672 100644
--- a/net/udhcpc.sh
+++ b/net/udhcpc.sh
@@ -66,7 +66,7 @@ udhcpc_start()
if ${sendhost}; then
local hname="$(hostname)"
if [ "${hname}" != "(none)" ] && [ "${hname}" != "localhost" ]; then
- args="${args} --hostname='${hname}'"
+ args="${args} -x hostname:'${hname}'"
fi
fi
;;