Skip to content

Commit 251eb1d

Browse files
committed
Drop IFF_DORMANT, IFF_ECHO, and IFF_LOWER_UP for android.
1 parent 9ac6ad6 commit 251eb1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/net/if_.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ libc_bitflags!(
193193

194194
// bitmask: 0x010000
195195
/// FIIXME: what's this?!?
196-
#[cfg(any(target_os = "android", target_os = "fuchsia", target_os = "linux"))]
196+
#[cfg(any(target_os = "fuchsia", target_os = "linux"))]
197197
IFF_LOWER_UP;
198198
/// FIIXME: what's this?!?
199199
#[cfg(any(target_os = "dragonfly"))]
@@ -206,7 +206,7 @@ libc_bitflags!(
206206
IFF_NOXMIT;
207207

208208
// bitmask: 0x020000
209-
#[cfg(any(target_os = "android", target_os = "fuchsia", target_os = "linux"))]
209+
#[cfg(any(target_os = "fuchsia", target_os = "linux"))]
210210
IFF_DORMANT;
211211
/// User-requested promisc mode.
212212
#[cfg(any(target_os = "dragonfly", target_os = "freebsd"))]
@@ -216,7 +216,7 @@ libc_bitflags!(
216216
IFF_NOLOCAL;
217217

218218
// bitmask: 0x040000
219-
#[cfg(any(target_os = "android", target_os = "fuchsia", target_os = "linux"))]
219+
#[cfg(any(target_os = "fuchsia", target_os = "linux"))]
220220
IFF_ECHO;
221221
/// User-requested monitor mode.
222222
#[cfg(any(target_os = "dragonfly", target_os = "freebsd"))]

0 commit comments

Comments
 (0)