diff options
author | 2022-06-09 22:16:23 +0000 | |
---|---|---|
committer | 2022-06-17 00:30:17 +0000 | |
commit | 34917963368a6c67620e345c6d28a8d62fbd6b8c (patch) | |
tree | 27dda2e1a945dfcce36bfe53d2b881b1ed165971 /api/api.go | |
parent | 673162c6422fc121f8f5750c52e5a817161f819a (diff) |
Minor cleanups in VPN
This commit includes few minor cleanups in VPN for better readability
and maintainability. Specifically this commit:
- explicitly sets IPsec tunnel's underlying network when Child SA is
created
- nulls out ScheduledFuture when the task is finished or cancelled
- validates the IKE Session token before executing the scheduled
handleSessionLost call
Bug: 192077544
Test: atest VpnTest, IkeV2VpnTest
Change-Id: Ib3cbdbfa594c55c27b78dffc00a82d371ca7a749
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions