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
@ -86,7 +86,10 @@ func TestSendRecv(t *testing.T) {
|
||||
t.Errorf("unexpected message type %T", m)
|
||||
continue
|
||||
case ReceivedPacket:
|
||||
recvChs[i] <- []byte(m)
|
||||
if m.Source.IsZero() {
|
||||
t.Errorf("zero Source address in ReceivedPacket")
|
||||
}
|
||||
recvChs[i] <- m.Data
|
||||
}
|
||||
}
|
||||
}(i)
|
||||
|
Reference in New Issue
Block a user