From cd2d520fd175f4bca804e0604869a2afd7095bcb Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 7 Jun 2012 00:12:20 -0500 Subject: net/udhcpc: use -x hostname:NAME option instead of -h name reported-by: bug@mejor.pl X-Gentoo-Bug: 417617 X-Gentoo-Bug-URL: https://bugs.gentoo.org/417617 --- net/udhcpc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/udhcpc.sh b/net/udhcpc.sh index 4eb0b51..d001867 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 ;; -- cgit v1.2.3