mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-12 12:50:28 +08:00
add peerwise mtu
This commit is contained in:
@@ -117,6 +117,7 @@ func (wg *WG) init(srcport, dstport, mtu uint16) {
|
||||
PubicKey: &peerkey,
|
||||
KeepAliveDur: peer.KeepAliveSeconds,
|
||||
QueryTick: peer.QuerySeconds,
|
||||
MTU: uint16(peer.MTU),
|
||||
AllowTrans: peer.AllowTrans,
|
||||
NoPipe: true,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user