diff --git a/security/stunnel/Makefile b/security/stunnel/Makefile index d771947df..a7e42ae0d 100644 --- a/security/stunnel/Makefile +++ b/security/stunnel/Makefile @@ -1,6 +1,6 @@ PLUGIN_NAME= stunnel PLUGIN_VERSION= 1.0.5 -PLUGIN_REVISION= 2 +PLUGIN_REVISION= 3 PLUGIN_COMMENT= Stunnel TLS proxy PLUGIN_MAINTAINER= ad@opnsense.org PLUGIN_DEPENDS= stunnel diff --git a/security/stunnel/src/opnsense/mvc/app/controllers/OPNsense/Stunnel/Api/ServicesController.php b/security/stunnel/src/opnsense/mvc/app/controllers/OPNsense/Stunnel/Api/ServicesController.php index 0083aec56..5db04eb87 100644 --- a/security/stunnel/src/opnsense/mvc/app/controllers/OPNsense/Stunnel/Api/ServicesController.php +++ b/security/stunnel/src/opnsense/mvc/app/controllers/OPNsense/Stunnel/Api/ServicesController.php @@ -35,7 +35,7 @@ class ServicesController extends ApiMutableModelControllerBase protected static $internalModelName = 'stunnel'; protected static $internalModelClass = 'OPNsense\Stunnel\Stunnel'; - protected function save() + protected function save($validateFullModel = false, $disable_validation = false) { // hook service enable status on enabled tunnels $this->getModel()->general->enabled = "0"; @@ -45,7 +45,7 @@ class ServicesController extends ApiMutableModelControllerBase break; } } - return parent::save(); + return parent::save($validateFullModel, $disable_validation); } public function searchItemAction()