mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-19 15:19:55 +00:00
Fix error message in UI
This commit is contained in:
committed by
Theodor S. Midtlien
parent
81576f25ef
commit
cba77dda6f
@@ -559,7 +559,7 @@ func (s *serviceClient) parseNumericSettings() (int64, int64, error) {
|
|||||||
return 0, 0, errors.New("invalid interface port")
|
return 0, 0, errors.New("invalid interface port")
|
||||||
}
|
}
|
||||||
if port < 0 || port > 65535 {
|
if port < 0 || port > 65535 {
|
||||||
return 0, 0, errors.New("invalid interface port: out of range 1-65535")
|
return 0, 0, errors.New("invalid interface port: out of range 0-65535")
|
||||||
}
|
}
|
||||||
|
|
||||||
var mtu int64
|
var mtu int64
|
||||||
|
|||||||
Reference in New Issue
Block a user