Skip to content

Commit ef3eaab

Browse files
Merge pull request #358 from jaredhendrickson13/next_patch
v1.5.4 Fixes
2 parents 5850d77 + 677a8df commit ef3eaab

File tree

7 files changed

+22
-15
lines changed

7 files changed

+22
-15
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"require": {
3-
"firebase/php-jwt": "v6.3.*"
3+
"firebase/php-jwt": "v6.7.*"
44
}
55
}

composer.lock

Lines changed: 11 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pfSense-pkg-API/files/etc/inc/api/framework/APITools.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ function sort_nat_rules($top=false, $data=null, $field=null) {
345345

346346
foreach ($acl as $idx => $fre) {
347347
# Check if top mode is enabled, if so add this item to the start of the array
348-
if ($top === true and $idx === $data) {
348+
if ($top == true and $idx === $data) {
349349
array_unshift($sort_arr, $fre);
350350
} else {
351351
$sort_arr[] = $fre;

pfSense-pkg-API/files/etc/inc/api/models/APISystemCARead.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class APISystemCARead extends APIModel {
3131

3232
public function validate_payload() {
3333
if (!empty($this->config["ca"])) {
34-
$this->validated_data["ca"] = $this->config["ca"];
34+
$this->validated_data = $this->config["ca"];
3535
}
3636
}
3737
}

pfSense-pkg-API/files/etc/inc/api/models/APISystemCertificateRead.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class APISystemCertificateRead extends APIModel {
3131

3232
public function validate_payload() {
3333
if (!empty($this->config["cert"])) {
34-
$this->validated_data["cert"] = $this->config["cert"];
34+
$this->validated_data = $this->config["cert"];
3535
}
3636
}
3737
}

pfSense-pkg-API/files/usr/local/www/api/documentation/openapi.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9324,6 +9324,9 @@ paths:
93249324

93259325
_Note: If you are using a failover group, the failover group must be configured to use the same_.'
93269326
type: string
9327+
server_addr:
9328+
description: Sets the server IP or hostname of the OpenVPN server this client will connect to.
9329+
type: string
93279330
local_port:
93289331
description: For clients, the local port should be blank in nearly every case so that OpenVPN
93299332
will use a randomized local port. This behavior is more secure, but some server configurations
@@ -9791,6 +9794,9 @@ paths:
97919794

97929795
_Note: If you are using a failover group, the failover group must be configured to use the same_.'
97939796
type: string
9797+
server_addr:
9798+
description: Sets the server IP or hostname of the OpenVPN server this client will connect to.
9799+
type: string
97949800
local_port:
97959801
description: The port number upon which OpenVPN will listen for incoming connections from peers.
97969802
Firewall rules must allow traffic to this port and this port must be specified in the client configuration.

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
jinja2~=3.1.2
22
requests~=2.28.1
3-
pylint~=2.15.4
3+
pylint~=2.17.2
44
urllib3~=1.26.13

0 commit comments

Comments
 (0)