From ae7cbd910a8d95fcf47ea99e19976e3398f6d947 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 7 Jun 2012 00:12:20 -0500 Subject: [PATCH] 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 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 ;;