Update Allocation.php (#3468)

Max port typo
This commit is contained in:
ClumsyAdmin 2021-07-17 13:02:15 -04:00 committed by GitHub
parent 91ea0a4f41
commit 57987c0f79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,7 @@ class Allocation extends Model
public static $validationRules = [ public static $validationRules = [
'node_id' => 'required|exists:nodes,id', 'node_id' => 'required|exists:nodes,id',
'ip' => 'required|ip', 'ip' => 'required|ip',
'port' => 'required|numeric|between:1024,65553', 'port' => 'required|numeric|between:1024,65535',
'ip_alias' => 'nullable|string', 'ip_alias' => 'nullable|string',
'server_id' => 'nullable|exists:servers,id', 'server_id' => 'nullable|exists:servers,id',
'notes' => 'nullable|string|max:256', 'notes' => 'nullable|string|max:256',