summaryrefslogtreecommitdiff
path: root/server/TetherController.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/TetherController.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/TetherController.cpp')
-rw-r--r--server/TetherController.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/TetherController.cpp b/server/TetherController.cpp
index c086465f..84bab0a0 100644
--- a/server/TetherController.cpp
+++ b/server/TetherController.cpp
@@ -49,6 +49,9 @@
#include "ResponseCode.h"
#include "TetherController.h"
+namespace android {
+namespace net {
+
using android::base::Join;
using android::base::StringAppendF;
using android::base::StringPrintf;
@@ -112,9 +115,6 @@ bool inBpToolsMode() {
} // namespace
-namespace android {
-namespace net {
-
auto TetherController::iptablesRestoreFunction = execIptablesRestoreWithOutput;
const int MAX_IPT_OUTPUT_LINE_LEN = 256;