File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1793,10 +1793,16 @@ impl crate::Socket {
1793
1793
///
1794
1794
/// This value contains the original destination IPv4 address of the connection
1795
1795
/// redirected using `iptables` `REDIRECT` or `TPROXY`.
1796
- #[ cfg( all( feature = "all" , any( target_os = "android" , target_os = "linux" ) ) ) ]
1796
+ #[ cfg( all(
1797
+ feature = "all" ,
1798
+ any( target_os = "android" , target_os = "fuchsia" , target_os = "linux" )
1799
+ ) ) ]
1797
1800
#[ cfg_attr(
1798
1801
docsrs,
1799
- doc( cfg( all( feature = "all" , any( target_os = "android" , target_os = "linux" ) ) ) )
1802
+ doc( cfg( all(
1803
+ feature = "all" ,
1804
+ any( target_os = "android" , target_os = "fuchsia" , target_os = "linux" )
1805
+ ) ) )
1800
1806
) ]
1801
1807
pub fn original_dst ( & self ) -> io:: Result < SockAddr > {
1802
1808
// Safety: `getsockopt` initialises the `SockAddr` for us.
You can’t perform that action at this time.
0 commit comments