summaryrefslogtreecommitdiffstats
path: root/server/FirewallController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'server/FirewallController.cpp')
-rw-r--r--server/FirewallController.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/FirewallController.cpp b/server/FirewallController.cpp
index 85a054ac1..3c070ce9d 100644
--- a/server/FirewallController.cpp
+++ b/server/FirewallController.cpp
@@ -41,7 +41,6 @@ using android::base::ReadFileToString;
using android::base::Split;
using android::base::StringAppendF;
using android::base::StringPrintf;
-using android::bpf::BpfLevel;
using android::net::gCtls;
namespace {
@@ -55,7 +54,7 @@ constexpr const uid_t kDefaultMaximumUid = UID_MAX - 1; // UID_MAX defined as U
const char kUidMapProcFile[] = "/proc/self/uid_map";
bool getBpfOwnerStatus() {
- return gCtls->trafficCtrl.getBpfLevel() != BpfLevel::NONE;
+ return gCtls->trafficCtrl.getBpfEnabled();
}
} // namespace