File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2167,7 +2167,7 @@ impl crate::Socket {
21672167 feature = "all" ,
21682168 any( target_os = "android" , target_os = "fuchsia" , target_os = "linux" )
21692169 ) ) ]
2170- pub fn freebind ( & self ) -> io:: Result < bool > {
2170+ pub fn freebind_v4 ( & self ) -> io:: Result < bool > {
21712171 unsafe {
21722172 getsockopt :: < c_int > ( self . as_raw ( ) , libc:: SOL_IP , libc:: IP_FREEBIND )
21732173 . map ( |freebind| freebind != 0 )
@@ -2185,7 +2185,7 @@ impl crate::Socket {
21852185 feature = "all" ,
21862186 any( target_os = "android" , target_os = "fuchsia" , target_os = "linux" )
21872187 ) ) ]
2188- pub fn set_freebind ( & self , freebind : bool ) -> io:: Result < ( ) > {
2188+ pub fn set_freebind_v4 ( & self , freebind : bool ) -> io:: Result < ( ) > {
21892189 unsafe {
21902190 setsockopt (
21912191 self . as_raw ( ) ,
You can’t perform that action at this time.
0 commit comments