summaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2014-10-21 13:41:21 +0900
committerLorenzo Colitti <lorenzo@google.com>2014-10-29 11:53:05 +0900
commit1352a3a26c4d7c32b38b7fadb837799a23014aa6 (patch)
treebe714f0c749e3e6bfc7694dc1c95c5328c20c243 /config.h
parent7612916deb5f40a8dcf3a31db8849450e146fc8d (diff)
downloadandroid_external_android-clat-1352a3a26c4d7c32b38b7fadb837799a23014aa6.tar.gz
android_external_android-clat-1352a3a26c4d7c32b38b7fadb837799a23014aa6.tar.bz2
android_external_android-clat-1352a3a26c4d7c32b38b7fadb837799a23014aa6.zip
Unduplicate IPv6 address setting code.
Currently, the IPv6 address gets set in two different codepaths depending on whether it's being configured on startup or happens because the interface changed its prefix. Refactor the two into a common function. Change-Id: I37035401bef7a57ff40540bd0f2aed0f6863269d
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/config.h b/config.h
index 654e909..a56d6fc 100644
--- a/config.h
+++ b/config.h
@@ -19,7 +19,6 @@
#define __CONFIG_H__
#include <netinet/in.h>
-#include <sys/system_properties.h>
#define DEFAULT_IPV4_LOCAL_SUBNET "192.0.0.4"
@@ -31,7 +30,7 @@ struct clat_config {
struct in6_addr ipv6_host_id;
struct in_addr ipv4_local_subnet;
struct in6_addr plat_subnet;
- char default_pdp_interface[PROP_VALUE_MAX];
+ char *default_pdp_interface;
char *plat_from_dns64_hostname;
};