summaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorPaul Jensen <pauljensen@google.com>2014-05-30 13:19:10 -0400
committerPaul Jensen <pauljensen@google.com>2014-06-02 10:38:30 -0400
commita1c871c8efad6c0b69e27d3b85e82a27e282b8be (patch)
treed9b3beee0e179e2545a34f74a4e640410bdfe1a9 /config.h
parent079fd2305ef90d95a1bfdb200e2975e9db86bf43 (diff)
downloadandroid_external_android-clat-a1c871c8efad6c0b69e27d3b85e82a27e282b8be.tar.gz
android_external_android-clat-a1c871c8efad6c0b69e27d3b85e82a27e282b8be.tar.bz2
android_external_android-clat-a1c871c8efad6c0b69e27d3b85e82a27e282b8be.zip
Make DNS request for plat prefix detection network specific.
When plat prefix detection is done on a non-default network it must use the network specific version of getaddrinfo() so the plat prefix corresponds to the particular network. The network is specified to clatd via a NetID command line argument. Change-Id: I77a47b24e68c7786f790974f05787a40a4934af5
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.h b/config.h
index 18760c3..fa47152 100644
--- a/config.h
+++ b/config.h
@@ -39,7 +39,8 @@ struct clat_config {
extern struct clat_config Global_Clatd_Config;
-int read_config(const char *file, const char *uplink_interface, const char *plat_prefix);
+int read_config(const char *file, const char *uplink_interface, const char *plat_prefix,
+ unsigned net_id);
void config_generate_local_ipv6_subnet(struct in6_addr *interface_ip);
#endif /* __CONFIG_H__ */