bugfix: darwin net flags

This commit is contained in:
simon committed 2023-10-06 16:41:13 +01:00
1 parent 98f9f7d42e
commit e7adfff9bf
2 files changed
+2 -11

No files matched your search

+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}