mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-28 14:50:26 +08:00
add peerwise mtu
This commit is contained in:
@@ -88,6 +88,7 @@ func NewMe(cfg *MyConfig) (m Me) {
|
||||
EndPoint: "127.0.0.1:56789",
|
||||
AllowedIPs: []string{cfg.MyIPwithMask},
|
||||
NoPipe: cfg.NIC != nil,
|
||||
MTU: cfg.MTU,
|
||||
})
|
||||
m.srcport = cfg.SrcPort
|
||||
m.dstport = cfg.DstPort
|
||||
|
||||
Reference in New Issue
Block a user