summaryrefslogtreecommitdiff
path: root/server/TetherController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'server/TetherController.cpp')
-rw-r--r--server/TetherController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/TetherController.cpp b/server/TetherController.cpp
index d8a690f9..d21c9a48 100644
--- a/server/TetherController.cpp
+++ b/server/TetherController.cpp
@@ -879,7 +879,7 @@ int TetherController::addForwardChainStats(TetherStatsList& statsList,
* which is what TetherController sets up.
* The 1st matches rx, and sets up the pair for the tx side.
*/
- if (!stats.intIface[0]) {
+ if (stats.intIface.empty()) {
ALOGV("0Filter RX iface_in=%s iface_out=%s rx_bytes=%" PRId64 " rx_packets=%" PRId64
" ", iface0.c_str(), iface1.c_str(), bytes, packets);
stats.intIface = iface0;