Merge "Add EPROTONOSUPPORT to IpSecManager SSE map"

This commit is contained in:
Benedict Wong
2019-04-29 19:59:38 +00:00
committed by Gerrit Code Review

View File

@@ -941,7 +941,8 @@ public final class IpSecManager {
throw new IllegalArgumentException(sse);
} else if (sse.errorCode == OsConstants.EAGAIN) {
throw new IllegalStateException(sse);
} else if (sse.errorCode == OsConstants.EOPNOTSUPP) {
} else if (sse.errorCode == OsConstants.EOPNOTSUPP
|| sse.errorCode == OsConstants.EPROTONOSUPPORT) {
throw new UnsupportedOperationException(sse);
}
}