We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8d4732 commit e81b30cCopy full SHA for e81b30c
1 file changed
pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Models/WireGuardTunnel.inc
@@ -148,8 +148,7 @@ class WireGuardTunnel extends Model {
148
/**
149
* Extends the default _update method to ensure addresses are removed if the tunnel has an interface assignment
150
*/
151
- public function _update(): void
152
- {
+ public function _update(): void {
153
# Remove any existing addresses if this tunnel has an existing interface assignment
154
if (NetworkInterface::query(if: $this->name->value)->exists()) {
155
$this->addresses->value = null;
0 commit comments