mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 22:55:06 +03:00
Multicast passwords
This commit is contained in:
parent
45b773eade
commit
2a21241738
7 changed files with 62 additions and 39 deletions
|
@ -13,11 +13,11 @@ func TestMulticastAdvertisementRoundTrip(t *testing.T) {
|
|||
}
|
||||
|
||||
orig := multicastAdvertisement{
|
||||
MajorVersion: 1,
|
||||
MinorVersion: 2,
|
||||
PublicKey: pk,
|
||||
Port: 3,
|
||||
Discriminator: sk, // any bytes will do
|
||||
MajorVersion: 1,
|
||||
MinorVersion: 2,
|
||||
PublicKey: pk,
|
||||
Port: 3,
|
||||
Hash: sk, // any bytes will do
|
||||
}
|
||||
|
||||
ob, err := orig.MarshalBinary()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue