Skip to content

Commit 4c2cd72

Browse files
fix: reduce WireGuardPeerAllowedIP::$mask minimum to 0 #595
1 parent 485af21 commit 4c2cd72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Models/WireGuardPeerAllowedIP.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class WireGuardPeerAllowedIP extends Model {
3535
);
3636
$this->mask = new IntegerField(
3737
required: true,
38-
minimum: 1,
38+
minimum: 0,
3939
maximum: 128,
4040
help_text: 'The subnet mask for this peer IP.',
4141
);

0 commit comments

Comments
 (0)