From 108525e89cef61b7679a864dec7de4641a6f5a23 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 1 Feb 2023 11:38:42 +0100 Subject: [PATCH] net/tayga: interface registration --- net/tayga/Makefile | 2 +- .../controllers/OPNsense/Tayga/Api/ServiceController.php | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/net/tayga/Makefile b/net/tayga/Makefile index bc8a613ca..fe232e6ac 100644 --- a/net/tayga/Makefile +++ b/net/tayga/Makefile @@ -1,6 +1,6 @@ PLUGIN_NAME= tayga PLUGIN_VERSION= 1.2 -PLUGIN_REVISION= 1 +PLUGIN_REVISION= 2 PLUGIN_COMMENT= Tayga NAT64 PLUGIN_DEPENDS= tayga PLUGIN_MAINTAINER= m.muenz@gmail.com diff --git a/net/tayga/src/opnsense/mvc/app/controllers/OPNsense/Tayga/Api/ServiceController.php b/net/tayga/src/opnsense/mvc/app/controllers/OPNsense/Tayga/Api/ServiceController.php index 4c82981ce..54288658c 100644 --- a/net/tayga/src/opnsense/mvc/app/controllers/OPNsense/Tayga/Api/ServiceController.php +++ b/net/tayga/src/opnsense/mvc/app/controllers/OPNsense/Tayga/Api/ServiceController.php @@ -36,4 +36,13 @@ class ServiceController extends ApiMutableServiceControllerBase protected static $internalServiceTemplate = 'OPNsense/Tayga'; protected static $internalServiceEnabled = 'enabled'; protected static $internalServiceName = 'tayga'; + + /** + * hook group interface registration on reconfigure + * @return bool + */ + protected function invokeInterfaceRegistration() + { + return true; + } }