summaryrefslogtreecommitdiffstats
path: root/src/dnsmasq.c
Commit message (Collapse)AuthorAgeFilesLines
* Only listen on the given interfaces.Robert Greenwalt2012-12-141-2/+13
| | | | | | | Stop being a public dns forwarder on our external interfaces. bug:7530468 Change-Id: Ic94cd66e66371de4fcc54f53b9f267f6611804b8
* Ensure all commands read on dnsmasq's stdin are processedPierre Crépieux2012-05-311-15/+23
| | | | | | | | | | | | 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>
* dnsmasq: Allow runtime changing of DNS servers via STDINSan Mehat2010-01-201-1/+54
| | | | Signed-off-by: San Mehat <san@google.com>
* dnsmasq: Tweak for building on AndroidSan Mehat2010-01-201-2/+2
| | | | Signed-off-by: San Mehat <san@google.com>
* dnsmasq: Direct import of version 2.51San Mehat2010-01-201-0/+1287
Signed-off-by: San Mehat <san@google.com>