Even more style fixes

This commit is contained in:
gingerBill
2024-06-29 19:11:36 +01:00
parent 3f9a58808c
commit 5413a8b744
17 changed files with 41 additions and 46 deletions
+2 -2
View File
@@ -94,7 +94,7 @@ _enumerate_interfaces :: proc(allocator := context.allocator) -> (interfaces: []
state := Link_State{}
if .UP in ifaddr.flags {
state |= {.Up}
state += {.Up}
}
/*if .DORMANT in ifaddr.flags {
@@ -102,7 +102,7 @@ _enumerate_interfaces :: proc(allocator := context.allocator) -> (interfaces: []
}*/
if .LOOPBACK in ifaddr.flags {
state |= {.Loopback}
state += {.Loopback}
}
iface.link.state = state
}