diff options
author | William Hubbs <williamh@gentoo.org> | 2012-06-07 00:12:20 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2012-06-07 00:12:20 -0500 |
commit | ae7cbd910a8d95fcf47ea99e19976e3398f6d947 (patch) | |
tree | 7067ea7198e4b0f2c90163d093b01c60a458c563 /net/udhcpc.sh | |
parent | 92b274a7dea93c4832bcbb0905beb2a93df080e4 (diff) |
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
Diffstat (limited to 'net/udhcpc.sh')
-rw-r--r-- | net/udhcpc.sh | 2 |
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 ;; |