aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/net/socket_freebsd.odin2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/net/socket_freebsd.odin b/core/net/socket_freebsd.odin
index 579ea90f2..10bc4c63e 100644
--- a/core/net/socket_freebsd.odin
+++ b/core/net/socket_freebsd.odin
@@ -304,6 +304,8 @@ _set_option :: proc(socket: Any_Socket, option: Socket_Option, value: any, loc :
case:
panic("set_option() value must be an integer here", loc)
}
+ ptr = &int_value
+ len = size_of(int_value)
case:
unimplemented("set_option() option not yet implemented", loc)
}