diff --git a/modules/OPNsense.php b/modules/OPNsense.php index 127585e..dbddf2b 100644 --- a/modules/OPNsense.php +++ b/modules/OPNsense.php @@ -6,7 +6,7 @@ class OPNsense extends PatchBase { } function check() : bool { if ($this->fetch('https://opnsense.org/download/')) - return $this->parse('/version *= *"([\d.]+)"/'); + return $this->parse('/data-version=\'([\d.]+)\'/'); return false; } }