1. v0.4.6.1 merge fix

This commit is contained in:
vadym 2022-11-08 13:31:04 +02:00
parent bdd5808b26
commit 0d2bec087c

View file

@ -139,7 +139,7 @@ func (m *Mesh) Recv() ([]byte, error) {
} }
// Recv waits for and reads a packet coming from Yggdrasil to given buffer, returning size of packet // Recv waits for and reads a packet coming from Yggdrasil to given buffer, returning size of packet
func (m *Yggdrasil) RecvBuffer(buf []byte) (int, error) { func (m *Mesh) RecvBuffer(buf []byte) (int, error) {
if m.iprwc == nil { if m.iprwc == nil {
return 0, nil return 0, nil
} }