Pass both IPv4 and IPv6 nameservers to dnsmasq
Additionally, store and return a list of strings for
DNS forwarders, since that's what is most useful. These
strings are guaranteed to be valid IP string literals by
virtue of validation on input.
Bug: 9580643
Change-Id: I4fbaf19835055b12e38d585c0bfba0d2b18b9717
diff --git a/server/TetherController.h b/server/TetherController.h
index a2ac793..fa9af07 100644
--- a/server/TetherController.h
+++ b/server/TetherController.h
@@ -24,7 +24,7 @@
#include "List.h"
typedef android::netd::List<char *> InterfaceCollection;
-typedef android::netd::List<struct in_addr> NetAddressCollection;
+typedef android::netd::List<std::string> NetAddressCollection;
class TetherController {
InterfaceCollection *mInterfaces;