derp: protocol negotiation, add v2: send src pub keys to clients in packets
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:

committed by
Brad Fitzpatrick

parent
a65b2a0efd
commit
bf704a5218
@ -104,7 +104,7 @@ func TestSendRecv(t *testing.T) {
|
||||
t.Errorf("unexpected message type %T", m)
|
||||
continue
|
||||
case derp.ReceivedPacket:
|
||||
recvChs[i] <- []byte(m)
|
||||
recvChs[i] <- m.Data
|
||||
}
|
||||
}
|
||||
}(i)
|
||||
|
Reference in New Issue
Block a user