From 7d41c13668e5b2fdbb014c1669005c8d1a7ca0fe Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Mon, 13 Dec 2021 15:56:23 +0100 Subject: [PATCH] RouterOS Long-term: fix regex --- modules/MikroTikRouterOSLTS.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/MikroTikRouterOSLTS.php b/modules/MikroTikRouterOSLTS.php index 315e9f7..0d5fbf0 100644 --- a/modules/MikroTikRouterOSLTS.php +++ b/modules/MikroTikRouterOSLTS.php @@ -8,7 +8,7 @@ class MikroTikRouterOSLTS extends PatchBase { function check() : bool { if ($this->fetch('https://mikrotik.com/download')) { $this->str_crop('id="routeros"', ''); - return $this->parse('/([\d\.]+) \(Long-term\)/'); + return $this->parse('/([\d\.]+) Long-term<\/th>/'); } return false; }