[XSocket] Fixed setting native_level in SetOption

This commit is contained in:
Adrian
2025-11-24 11:28:57 +00:00
committed by Radosław Gliński
parent 481ab595ce
commit 81871e7dc8

View File

@@ -121,7 +121,7 @@ X_STATUS XSocket::SetOption(uint32_t level, uint32_t optname, void* optval_ptr,
assert_false(!supported_levels.contains(level));
if (supported_levels.contains(level)) {
level = supported_levels.at(level);
native_level = supported_levels.at(level);
}
int native_optname = optname;