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 ;;