mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-07-04 12:27:47 +00:00
Tweaks
This commit is contained in:
@ -277,7 +277,7 @@ func (ss *sessions) createSession(theirPermKey *crypto.BoxPubKey) *sessionInfo {
|
||||
sinfo.mySesPriv = *priv
|
||||
sinfo.myNonce = *crypto.NewBoxNonce()
|
||||
sinfo.theirMTU = 1280
|
||||
sinfo.myMTU = uint16(ss.core.router.tun.MTU())
|
||||
sinfo.myMTU = uint16(ss.core.router.adapter.MTU())
|
||||
now := time.Now()
|
||||
sinfo.time = now
|
||||
sinfo.mtuTime = now
|
||||
|
Reference in New Issue
Block a user