mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-12 09:50:47 +01:00
Fix non-linux
This commit is contained in:
parent
356654756c
commit
1219027ad1
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user