History log of /external/dnsmasq/src/dnsmasq.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
41cd7ed80eb5e97ef9893633d05f0877da7d6d0c 11-Dec-2012 Robert Greenwalt <rgreenwalt@google.com> Only listen on the given interfaces.

Stop being a public dns forwarder on our external interfaces.

bug:7530468
Change-Id: Ic94cd66e66371de4fcc54f53b9f267f6611804b8
/external/dnsmasq/src/dnsmasq.c
00b7b3528890a27c04b2a6da87b790151cea8721 04-May-2012 Pierre Crépieux <pierre.crepieux@orange.com> Ensure all commands read on dnsmasq's stdin are processed

As described in issue 30016, android dnsmasq daemon is misconfigured after initializing tethering.
The reason is that two commands are present on dnsmasq stdin when check_android_listeners is called:
update_dns:8.8.8.8:8.8.4.4\0update_dns:192.x.y.z (notice the \0 between the 2 commands).
check_android_listeners assumes there is a single NUL terminated string and skip the second one.
This patch ensure that every commands are processed by checking wether or not all the characters on stdin have been consumed and loop if needed.
Also fixes style issues.

Change-Id: I6d98233964559b8dcc1253aec105a240e1065c94
Signed-off-by: Pierre Crépieux <pierre.crepieux@orange.com>
/external/dnsmasq/src/dnsmasq.c
33b344454b95ed99bad7d3fe4d493870923deaf6 20-Jan-2010 San Mehat <san@google.com> dnsmasq: Allow runtime changing of DNS servers via STDIN

Signed-off-by: San Mehat <san@google.com>
/external/dnsmasq/src/dnsmasq.c
5658bcb797978c3472335d93554405aba8236f66 20-Jan-2010 San Mehat <san@google.com> dnsmasq: Tweak for building on Android

Signed-off-by: San Mehat <san@google.com>
/external/dnsmasq/src/dnsmasq.c
ffd68729961f7383f2e35494a03ccdef20f86c98 20-Jan-2010 San Mehat <san@google.com> dnsmasq: Direct import of version 2.51

Signed-off-by: San Mehat <san@google.com>
/external/dnsmasq/src/dnsmasq.c