summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Wigge <mwigge@marcant.net>2009-02-04 14:58:31 +0000
committerMarkus Wigge <mwigge@marcant.net>2009-02-04 14:58:31 +0000
commit02cc61b0e4d214e5a4926a89653bc5484df4c1db (patch)
treeb08fdd73dbeed5a9d22c539231b1b178bf5dc20c
parent7c2c6da09af6ea8e9f16c8d9c7caa9566978196f (diff)
downloadmtk-20170518-02cc61b0e4d214e5a4926a89653bc5484df4c1db.zip
mtk-20170518-02cc61b0e4d214e5a4926a89653bc5484df4c1db.tar.gz
mtk-20170518-02cc61b0e4d214e5a4926a89653bc5484df4c1db.tar.bz2
"-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
-rw-r--r--package/dnsmasq/files/dnsmasq.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init
index de9b92d..6cb0e0f 100644
--- a/package/dnsmasq/files/dnsmasq.init
+++ b/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