File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ pub fn if_indextoname(index: c_uint) -> Result<CString> {
4242libc_bitflags ! (
4343 /// Standard interface flags, used by `getifaddrs`
4444 pub struct InterfaceFlags : IflagsType {
45-
45+
4646 /// Interface is running. (see
4747 /// [`netdevice(7)`](https://man7.org/linux/man-pages/man7/netdevice.7.html))
4848 IFF_UP as IflagsType ;
@@ -271,6 +271,7 @@ impl fmt::Display for InterfaceFlags {
271271 bsd,
272272 target_os = "fuchsia" ,
273273 target_os = "linux" ,
274+ target_os = "android" ,
274275 solarish,
275276) ) ]
276277mod if_nameindex {
@@ -398,6 +399,7 @@ mod if_nameindex {
398399 bsd,
399400 target_os = "fuchsia" ,
400401 target_os = "linux" ,
402+ target_os = "android" ,
401403 solarish,
402404) ) ]
403405pub use if_nameindex:: * ;
You can’t perform that action at this time.
0 commit comments