mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-10 15:48:29 +02:00
Add registration response message to the communication
This commit is contained in:
@ -145,5 +145,8 @@ func handShake(conn net.Conn) (*Peer, error) {
|
||||
return nil, err
|
||||
}
|
||||
p := NewPeer(peerId, conn)
|
||||
return p, nil
|
||||
|
||||
msg := messages.MarshalHelloResponse()
|
||||
_, err = conn.Write(msg)
|
||||
return p, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user