summaryrefslogtreecommitdiff
path: root/server/InterfaceController.cpp
diff options
context:
space:
mode:
authorBernie Innocenti <codewiz@google.com>2018-09-12 13:54:50 +0900
committerBernie Innocenti <codewiz@google.com>2018-09-12 04:58:26 +0000
commit4debf3b371bcf18d0b5db85310c9cfc0c40d864d (patch)
treefdaab51be3d2db7637253f8375d6f6f1a7638c37 /server/InterfaceController.cpp
parent583330f788858165426ae89dd8412a1b51ef9985 (diff)
Wrap InterfaceController into the android::net namespace
No functionality changes, this is a cleanup. Test: m netd_unit_test Change-Id: I5c6667051b7b4b17171e6dcc6883f17db08eaa23
Diffstat (limited to 'server/InterfaceController.cpp')
-rw-r--r--server/InterfaceController.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/InterfaceController.cpp b/server/InterfaceController.cpp
index 4c350852..7006fee5 100644
--- a/server/InterfaceController.cpp
+++ b/server/InterfaceController.cpp
@@ -192,6 +192,9 @@ Status setProperty(const std::string& key, const std::string& val) {
} // namespace
+namespace android {
+namespace net {
+
android::netdutils::Status InterfaceController::enableStablePrivacyAddresses(
const std::string& iface,
const GetPropertyFn& getProperty,
@@ -439,3 +442,6 @@ StatusOr<std::map<std::string, uint32_t>> InterfaceController::getIfaceList() {
}
return ifacePairs;
}
+
+} // namespace net
+} // namespace android