mirror of
https://github.com/slackhq/nebula.git
synced 2025-11-23 17:04:25 +01:00
extra stinky slop that works kinda
This commit is contained in:
@@ -180,7 +180,9 @@ func (u *StdConn) ListenOut(r EncReader) {
|
||||
u.l.WithError(err).Error("unexpected udp socket receive error")
|
||||
}
|
||||
|
||||
r(netip.AddrPortFrom(rua.Addr().Unmap(), rua.Port()), buffer[:n])
|
||||
payload := make([]byte, n)
|
||||
copy(payload, buffer[:n])
|
||||
r(netip.AddrPortFrom(rua.Addr().Unmap(), rua.Port()), payload, func() {})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user