commit | 782ab176f0c34712c9ff68cf6c342d62a3062570 | [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 | 94b9a91ba5f769416730f71452d02ca88e066a39 | |
parent | 08c78086010c6b6d69fda1334bf84d556b120beb [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