From d1f104b6fe94507a80b85943fd1d4ba895f4e0a0 Mon Sep 17 00:00:00 2001
From: Detlef Schmitt <blubb...@nurfuerspam.de>
Date: Mon, 9 Feb 2015 15:35:28 +0100
Subject: [PATCH 2/2] daemon.notice netifd: wan (4235): udhcpc: option -h NAME is deprecated, use -x hostname:NAME daemon.notice netifd: wan (4235): udhcpc
 (v1.22.1) started

replaced the deprecated option "-h HOSTNAME" for udhcpc
with the new one
---
 package/network/config/netifd/files/lib/netifd/proto/dhcp.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
index d4c483d..bde60a2 100755
--- a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
+++ b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
@@ -52,7 +52,7 @@ proto_dhcp_setup() {
                -s /lib/netifd/dhcp.script \
                -f -t 0 -i "$iface" \
                ${ipaddr:+-r $ipaddr} \
-               ${hostname:+-H $hostname} \
+               ${hostname:+-x hostname:$hostname} \
                ${vendorid:+-V $vendorid} \
                $clientid $broadcast $dhcpopts
 }
--
1.9.1

Signed-off-by: Detlef Schmitt <blubb...@nurfuerspam.de>
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to