mirror of
https://github.com/netbirdio/netbird.git
synced 2025-04-30 14:25:06 +02:00
split systemops for operating systems and add linux
This commit is contained in:
parent
1ced2462c1
commit
dad5501a44
@ -97,7 +97,7 @@ loop:
|
|||||||
rt := (*routeInfoInMemory)(unsafe.Pointer(&m.Data[0]))
|
rt := (*routeInfoInMemory)(unsafe.Pointer(&m.Data[0]))
|
||||||
attrs, err := syscall.ParseNetlinkRouteAttr(&m)
|
attrs, err := syscall.ParseNetlinkRouteAttr(&m)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return true, err
|
||||||
}
|
}
|
||||||
if rt.Family != syscall.AF_INET {
|
if rt.Family != syscall.AF_INET {
|
||||||
continue loop
|
continue loop
|
||||||
|
Loading…
Reference in New Issue
Block a user