Merge "Fix flaky UdpEncapsulationSocket test"
am: 066b321400
Change-Id: I4d6cc85fcd539a38674fc3daff1af57fa1bdd2f7
This commit is contained in:
@@ -96,9 +96,10 @@ public class IpSecService extends IIpSecService.Stub {
|
||||
new int[] {OsConstants.AF_INET, OsConstants.AF_INET6};
|
||||
|
||||
private static final int NETD_FETCH_TIMEOUT_MS = 5000; // ms
|
||||
private static final int MAX_PORT_BIND_ATTEMPTS = 10;
|
||||
private static final InetAddress INADDR_ANY;
|
||||
|
||||
@VisibleForTesting static final int MAX_PORT_BIND_ATTEMPTS = 10;
|
||||
|
||||
static {
|
||||
try {
|
||||
INADDR_ANY = InetAddress.getByAddress(new byte[] {0, 0, 0, 0});
|
||||
|
||||
Reference in New Issue
Block a user