diff --git a/net/wol/Makefile b/net/wol/Makefile index a6272d200..3daf640b1 100644 --- a/net/wol/Makefile +++ b/net/wol/Makefile @@ -1,6 +1,6 @@ PLUGIN_NAME= wol PLUGIN_VERSION= 2.0.d -PLUGIN_REVISION= 1 +PLUGIN_REVISION= 2 PLUGIN_DEPENDS= wol PLUGIN_COMMENT= Wake on LAN Service PLUGIN_MAINTAINER= franco@opnsense.org diff --git a/net/wol/src/opnsense/mvc/app/controllers/OPNsense/Wol/Api/WolController.php b/net/wol/src/opnsense/mvc/app/controllers/OPNsense/Wol/Api/WolController.php index 76cc7b675..d6b035344 100644 --- a/net/wol/src/opnsense/mvc/app/controllers/OPNsense/Wol/Api/WolController.php +++ b/net/wol/src/opnsense/mvc/app/controllers/OPNsense/Wol/Api/WolController.php @@ -63,7 +63,7 @@ class WolController extends ApiMutableModelControllerBase } public function delHostAction($uuid) { - $this->delBase('host', $uuid); + $this->delBase('wolentry', $uuid); } public function searchHostAction() { diff --git a/net/wol/src/opnsense/mvc/app/controllers/OPNsense/Wol/forms/host.xml b/net/wol/src/opnsense/mvc/app/controllers/OPNsense/Wol/forms/host.xml index 87bc38866..3c00c8232 100644 --- a/net/wol/src/opnsense/mvc/app/controllers/OPNsense/Wol/forms/host.xml +++ b/net/wol/src/opnsense/mvc/app/controllers/OPNsense/Wol/forms/host.xml @@ -12,7 +12,7 @@ Enter a MAC address in the following format: xx:xx:xx:xx:xx:xx - host.description + host.descr text You may enter a description here for your reference (not parsed). diff --git a/net/wol/src/opnsense/mvc/app/views/OPNsense/Wol/index.volt b/net/wol/src/opnsense/mvc/app/views/OPNsense/Wol/index.volt index 7f72fb16b..9ffe7ff10 100644 --- a/net/wol/src/opnsense/mvc/app/views/OPNsense/Wol/index.volt +++ b/net/wol/src/opnsense/mvc/app/views/OPNsense/Wol/index.volt @@ -1,16 +1,41 @@