瀏覽代碼

"-R" will not work as it needs the configured IP on the interface. Thus this option leads to the warning message: "udhcpc: bind(UDP): Cannot assign requested address"

SVN-Revision: 14408
Markus Wigge 17 年之前
父節點
當前提交
02cc61b0e4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package/dnsmasq/files/dnsmasq.init

+ 1 - 1
package/dnsmasq/files/dnsmasq.init

@@ -227,7 +227,7 @@ dhcp_add() {
 	#check for an already active dhcp server on the interface, unless 'force' is set
 	config_get_bool force "$cfg" force 0
 	[ "$force" -gt 0 ] || {
-		udhcpc -n -q -R -s /bin/true -t 1 -i $ifname >&- && return 0
+		udhcpc -n -q -s /bin/true -t 1 -i $ifname >&- && return 0
 	}
 
 	config_get start "$cfg" start