OSDN Git Service
(root)
/
android-x86
/
system-netd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee335ef
)
Fix P2TP VPNs by adding an exception for VPN user.
author
Pierre Imai
<imaipi@google.com>
Mon, 16 May 2016 07:32:17 +0000
(16:32 +0900)
committer
Pierre Imai
<imaipi@google.com>
Mon, 16 May 2016 07:32:17 +0000
(16:32 +0900)
BUG:
27199751
Change-Id: I1144228febba0c4cce1333fb39ea186d2963ed10
server/NetworkController.cpp
patch
|
blob
|
history
diff --git
a/server/NetworkController.cpp
b/server/NetworkController.cpp
index
8b1f84e
..
3364577
100644
(file)
--- a/
server/NetworkController.cpp
+++ b/
server/NetworkController.cpp
@@
-135,7
+135,8
@@
int NetworkController::DelegateImpl::modifyFallthrough(const std::string& physic
}
NetworkController::NetworkController() :
- mDelegateImpl(new NetworkController::DelegateImpl(this)), mDefaultNetId(NETID_UNSET) {
+ mDelegateImpl(new NetworkController::DelegateImpl(this)), mDefaultNetId(NETID_UNSET),
+ mProtectableUsers({AID_VPN}) {
mNetworks[LOCAL_NET_ID] = new LocalNetwork(LOCAL_NET_ID);
mNetworks[DUMMY_NET_ID] = new DummyNetwork(DUMMY_NET_ID);
}