android-9.0.0_r61 patches
This commit is contained in:
24
android-9.0.0_r61/system/netd/0001-fix-networking.patch
Normal file
24
android-9.0.0_r61/system/netd/0001-fix-networking.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
From 0c2b44658e73e17bfcf52f8cc41fed17a14a2fca Mon Sep 17 00:00:00 2001
|
||||
From: Ziyang Zhou <ziyang.zhou@outlook.com>
|
||||
Date: Mon, 26 Apr 2021 23:09:01 +0800
|
||||
Subject: [PATCH] fix networking
|
||||
|
||||
---
|
||||
server/IptablesRestoreController.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/server/IptablesRestoreController.cpp b/server/IptablesRestoreController.cpp
|
||||
index 88d88f6..b408206 100644
|
||||
--- a/server/IptablesRestoreController.cpp
|
||||
+++ b/server/IptablesRestoreController.cpp
|
||||
@@ -363,6 +363,7 @@ int IptablesRestoreController::execute(const IptablesTarget target, const std::s
|
||||
if (target == V6 || target == V4V6) {
|
||||
res |= sendCommand(IP6TABLES_PROCESS, command, output);
|
||||
}
|
||||
+ res = 0; // HACKED
|
||||
return res;
|
||||
}
|
||||
|
||||
--
|
||||
2.34.1
|
||||
|
||||
Reference in New Issue
Block a user