commit | c423cc8311a78d60151f19df1a8762dd7e470629 | [log] [tgz] |
---|---|---|
author | Benedict Wong <benedictwong@google.com> | Tue Oct 10 20:44:28 2017 -0700 |
committer | Benedict Wong <benedictwong@google.com> | Wed Oct 18 11:43:43 2017 -0700 |
tree | 8b83fbb07b87d72c11c2171b3d5caff9787ec2a5 | |
parent | 87d6fc04b2b10896ce8c27660b13ec1097d1c255 [diff] |
Return a port from bindToPort() in IpSecService When binding to a random port, the port number was not being returned, so the user is incorrectly receiving a port of zero. Return the port number that was ultimately bound. Bug: 67662580 Test: Ran CTS test on aosp_angler-eng Change-Id: I22f4e5cdc83d43dc453788889990feb34e451bd3