make mask nullable and do a strict compare to allow firwall rules without masks (#432)

This commit is contained in:
Tobias Schulz
2025-01-13 17:28:59 +01:00
committed by GitHub
parent a0940d4581
commit 93a7bf9c3a
2 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ public static function rules(): array
'ip',
],
'mask' => [
'required',
'nullable',
'numeric',
],
];