Skip to content

Commit

Permalink
Update source/posix/socket.c
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Graeb <[email protected]>
  • Loading branch information
waahm7 and graebm authored Jul 3, 2024
1 parent c082292 commit 20eeb6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/posix/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,7 @@ int aws_socket_set_options(struct aws_socket *socket, const struct aws_socket_op
}
#elif defined(IP_BOUND_IF)
/*
* Apple does not support SO_BINDTODEVICE and the alternative is IP_BOUND_IF which requires an index instead
* If SO_BINDTODEVICE is not supported, the alternative is IP_BOUND_IF which requires an index instead
* of a name. We are not using this everywhere because this requires 2 system calls instead of 1, and is
* dependent upon the type of sockets, which doesn't support AWS_SOCKET_LOCAL. As a future optimization, we can
* look into caching the result of if_nametoindex.
Expand Down

0 comments on commit 20eeb6b

Please sign in to comment.