mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-30 08:19:09 +01:00
Revert debug line
This commit is contained in:
@@ -109,15 +109,10 @@ func (b *ICEBind) makeReceiveIPv4(c net.PacketConn) conn.ReceiveFunc {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, nil, err
|
return 0, nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
e, err := netip.ParseAddrPort(endpoint.String())
|
e, err := netip.ParseAddrPort(endpoint.String())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, nil, err
|
return 0, nil, err
|
||||||
}
|
}
|
||||||
if e.Port() == 51820 {
|
|
||||||
log.Debugf("received msg from 51820: %v, %d", e.String(), n)
|
|
||||||
}
|
|
||||||
|
|
||||||
if !stun.IsMessage(buff) {
|
if !stun.IsMessage(buff) {
|
||||||
// WireGuard traffic
|
// WireGuard traffic
|
||||||
return n, (conn.StdNetEndpoint)(netip.AddrPortFrom(e.Addr(), e.Port())), nil
|
return n, (conn.StdNetEndpoint)(netip.AddrPortFrom(e.Addr(), e.Port())), nil
|
||||||
|
|||||||
Reference in New Issue
Block a user