diff options
author | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | 2014-02-24 18:28:55 -0700 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2014-05-06 12:50:48 -0700 |
commit | 131a58b56687860f4c071c1fad15ebc4b619cdd0 (patch) | |
tree | fe6afb016b04f19bb4c4c60111f7c21ec1015c22 /src/network.c | |
parent | 3340f260d2511b106c585ca24b8f1a7b0c407a6d (diff) | |
download | android_external_dnsmasq-131a58b56687860f4c071c1fad15ebc4b619cdd0.tar.gz android_external_dnsmasq-131a58b56687860f4c071c1fad15ebc4b619cdd0.tar.bz2 android_external_dnsmasq-131a58b56687860f4c071c1fad15ebc4b619cdd0.zip |
dnsmasq: dnsmasq should not die if interface not foundcm-11.0-XNPH44S-bacon-5fa8c79c0bcm-11.0-XNPH33R-bacon-3628510d76cm-11.0-XNPH30O-bacon-4f280f505acm-11.0-XNPH25R-bacon-d22b777afacm-11.0-XNPH22R-bacon-03d77315eacm-11.0-XNPH05Q-tomato-9828f8e9cccm-11.0-XNPH05Q-bacon-5229c4ef56stable/cm-11.0-XNG3Cstable/cm-11.0-XNG2Sstable/cm-11.0-XNF9Xstable/cm-11.0-XNF8Ystable/cm-11.0shipping/cm-11.0
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
Diffstat (limited to 'src/network.c')
-rwxr-xr-x | src/network.c | 2 |
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 */ |