mirror of
https://github.com/amnezia-vpn/euphoria-windows.git
synced 2026-05-17 08:15:59 +03:00
Set default MTU from WgQuick config
This commit is contained in:
@@ -237,6 +237,7 @@ func FromWgQuick(s string, name string) (*Config, error) {
|
||||
parserState := notInASection
|
||||
conf := Config{Name: name}
|
||||
sawPrivateKey := false
|
||||
conf.Interface.MTU = 1420
|
||||
var peer *Peer
|
||||
for _, line := range lines {
|
||||
pound := strings.IndexByte(line, '#')
|
||||
|
||||
Reference in New Issue
Block a user