summaryrefslogtreecommitdiff
path: root/package/dnsmasq/files/dnsmasq.init
diff options
context:
space:
mode:
authormarkus <markus@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-04 14:58:31 +0000
committermarkus <markus@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-04 14:58:31 +0000
commit2416808ec0132aca83ff90b19eea6761ca1f8b6d (patch)
tree16bf2aada163518008c4b55390a5761f9c8cf5a0 /package/dnsmasq/files/dnsmasq.init
parentc4a3110a2e5b3bfd712eca73129735477d6d382b (diff)
"-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" git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14408 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dnsmasq/files/dnsmasq.init')
-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 de9b92d52b..6cb0e0f4fa 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