diff --git a/modules/MikroTikRouterOS6.php b/modules/MikroTikRouterOS6.php index ab64f0b..f5ecda7 100644 --- a/modules/MikroTikRouterOS6.php +++ b/modules/MikroTikRouterOS6.php @@ -7,7 +7,7 @@ class MikroTikRouterOS6 extends PatchBase { } function check() : bool { if ($this->fetch('https://mikrotik.com/download')) { - $this->str_crop('id="routeros"', ''); + $this->str_crop('id="routeros6"', ''); return $this->parse('/([\d\.]+) Stable<\/th>/'); } return false; diff --git a/modules/MikroTikRouterOS6LTS.php b/modules/MikroTikRouterOS6LTS.php index 0351527..74ed575 100644 --- a/modules/MikroTikRouterOS6LTS.php +++ b/modules/MikroTikRouterOS6LTS.php @@ -7,8 +7,8 @@ class MikroTikRouterOS6LTS extends PatchBase { } function check() : bool { if ($this->fetch('https://mikrotik.com/download')) { - $this->str_crop('id="routeros"', ''); - return $this->parse('/([\d\.]+) Long-term<\/th>/'); + $this->str_crop('id="routeros6"', ''); + return $this->parse('/([\d\.]+) Long-[Tt]erm<\/th>/'); } return false; }