diff options
author | 2022-01-11 17:09:47 +0800 | |
---|---|---|
committer | 2022-01-11 13:46:47 +0000 | |
commit | 657656b4603ad158ba9477b8f266625f168d26e3 (patch) | |
tree | 764598e0cff905cb7392c4d43cc7b04ff6728aa7 /api/api.go | |
parent | 2a3830faabb4eeb03f47b7796b0c262cddab1fd2 (diff) |
Only set excludeLocalRoutes in the bypassable VpnProfile
fromVpnProfile() will be called in the system server directly.
If the input VpnProfile does not set excludeLocalRoute with a
bypassable VPN, it will crash system server. Thus, only set
the excludeLocalRoutes in the bypassable VpnProfile.
Bug: 184750836
Test: atest FrameworksNetTests
Change-Id: I311cc7e3c46ab4f6721f477f227e76ba4c0712f6
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions