Merge remote-tracking branch 'origin/main' into feat/nats-genesis
This commit is contained in:
@@ -915,7 +915,7 @@ func rekeyOnto(mine identity.Identity, found tunnel.Found) (identity.Identity, l
|
||||
// carried is a found tunnel as it is presented to the mesh: everything but its private key.
|
||||
func carried(t tunnel.Found) *link.Tunnel {
|
||||
out := &link.Tunnel{Interface: t.Interface, Unit: t.Unit, Config: t.Config, Port: t.Port,
|
||||
Address: t.Address, Range: t.Range, PublicKey: t.PublicKey}
|
||||
Address: t.Address, Range: t.Range, MTU: t.MTU, PublicKey: t.PublicKey}
|
||||
for _, p := range t.Peers {
|
||||
out.Peers = append(out.Peers, link.TunnelPeer{PublicKey: p.PublicKey, Address: p.Address})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user