mirror of
https://github.com/vx3r/wg-gen-web.git
synced 2025-05-22 02:33:12 +00:00
Merge 8064ff7443de545ebf6da8d21ff2ee9a17223424 into 4fd1e34f5f70f4b4fa5b5187957de3d5633abbfd
This commit is contained in:
commit
ddc63821b4
@ -54,7 +54,7 @@ func (a Server) IsValid() []error {
|
||||
}
|
||||
// check if the mtu is valid
|
||||
if a.Mtu < 0 {
|
||||
errs = append(errs, fmt.Errorf("MTU %d is invalid", a.PersistentKeepalive))
|
||||
errs = append(errs, fmt.Errorf("MTU %d is invalid", a.Mtu))
|
||||
}
|
||||
// check if the address are valid
|
||||
for _, dns := range a.Dns {
|
||||
|
Loading…
x
Reference in New Issue
Block a user