bugfix: darwin net flags

This commit is contained in:
simon
2023-10-06 16:41:13 +01:00
parent 98f9f7d42e
commit e7adfff9bf
2 changed files with 2 additions and 11 deletions
+2 -2
View File
@@ -97,9 +97,9 @@ _enumerate_interfaces :: proc(allocator := context.allocator) -> (interfaces: []
state |= {.Up}
}
if .DORMANT in ifaddr.flags {
/*if .DORMANT in ifaddr.flags {
state |= {.Dormant}
}
}*/
if .LOOPBACK in ifaddr.flags {
state |= {.Loopback}