summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>2014-02-24 18:28:55 -0700
committerSteve Kondik <shade@chemlab.org>2014-05-06 12:50:48 -0700
commit131a58b56687860f4c071c1fad15ebc4b619cdd0 (patch)
treefe6afb016b04f19bb4c4c60111f7c21ec1015c22
parent3340f260d2511b106c585ca24b8f1a7b0c407a6d (diff)
downloadandroid_external_dnsmasq-stable/cm-11.0-XNG3C.tar.gz
android_external_dnsmasq-stable/cm-11.0-XNG3C.tar.bz2
android_external_dnsmasq-stable/cm-11.0-XNG3C.zip
When an instantaneous tether and untether command are issued the dnsmasq operation of tether happens after the interface has been brought down by the untether command hence tethering goes into bad state. The fix is to let dnsmasq running so that it can be killed later by the untether command. CRs-Fixed: 620556 Change-Id: Ia92f530d2d082758bcefd1c4728bb21edcc39043
-rwxr-xr-xsrc/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network.c b/src/network.c
index 3923c2e..5e2b07d 100755
--- a/src/network.c
+++ b/src/network.c
@@ -934,7 +934,7 @@ void set_interfaces(const char *interfaces)
for (if_tmp = daemon->if_names; if_tmp; if_tmp = if_tmp->next) {
if (if_tmp->name && !if_tmp->used) {
- die(_("unknown interface given %s in set_interfaces: %s"), if_tmp->name, EC_BADNET);
+ my_syslog(LOG_DEBUG, _("unknown interface given %s in set_interfaces: %s"), if_tmp->name);
}
}
/* success! - setup to free the old */