File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1924,8 +1924,8 @@ impl crate::Socket {
19241924 }
19251925 }
19261926
1927- /// Gets the value for `IP_BOUND_IF` option on this socket, i.e. the index
1928- /// for the interface to which the socket is bound.
1927+ /// Gets the value for `IP_BOUND_IF` or `SO_BINDTOIFINDEX` option on this
1928+ /// socket, i.e. the index for the interface to which the socket is bound.
19291929 ///
19301930 /// Returns `None` if the socket is not bound to any interface, otherwise
19311931 /// returns an interface index.
@@ -1964,8 +1964,8 @@ impl crate::Socket {
19641964 Ok ( NonZeroU32 :: new ( index) )
19651965 }
19661966
1967- /// Gets the value for `IPV6_BOUND_IF` option on this socket, i.e. the index
1968- /// for the interface to which the socket is bound.
1967+ /// Gets the value for `IPV6_BOUND_IF` or `SO_BINDTOIFINDEX` option on this
1968+ /// socket, i.e. the index for the interface to which the socket is bound.
19691969 ///
19701970 /// Returns `None` if the socket is not bound to any interface, otherwise
19711971 /// returns an interface index.
You can’t perform that action at this time.
0 commit comments