mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 07:16:38 +00:00
Fix non-linux
This commit is contained in:
@@ -220,7 +220,7 @@ func (s *ICEBind) receiveIP(
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
numMsgs, err = splitCoalescedMessages(*msgs, readAt, wgConn.GetGSOSize)
|
||||
numMsgs, err = splitCoalescedMessages(*msgs, readAt, GetGSOSize)
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
||||
5
client/iface/bind/ice_bind_linux.go
Normal file
5
client/iface/bind/ice_bind_linux.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package bind
|
||||
|
||||
func GetGSOSize(control []byte) (int, error) {
|
||||
return wgConn.GetGSOSize(control)
|
||||
}
|
||||
6
client/iface/bind/ice_bind_nonlinux.go
Normal file
6
client/iface/bind/ice_bind_nonlinux.go
Normal file
@@ -0,0 +1,6 @@
|
||||
// go:build !linux
|
||||
package bind
|
||||
|
||||
func GetGSOSize(control []byte) (int, error) {
|
||||
return 0, nil
|
||||
}
|
||||
Reference in New Issue
Block a user