From a1c871c8efad6c0b69e27d3b85e82a27e282b8be Mon Sep 17 00:00:00 2001 From: Paul Jensen Date: Fri, 30 May 2014 13:19:10 -0400 Subject: 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 --- config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config.h') 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__ */ -- cgit v1.2.3