PatchBot/modules/MikroTikRouterOS6LTS.php
2025-12-03 15:15:54 +01:00

16 lines
389 B
PHP

<?php
class MikroTikRouterOS6LTS extends PatchBase {
function __construct() {
parent::__construct('MikroTik', 'RouterOS', 'https://mikrotik.com/download');
$this->patch->setBranch('v6 Long-term');
}
function check() : bool {
if ($this->fetch('https://upgrade.mikrotik.com/routeros/NEWESTa6.long-term')) {
return $this->parse('/([\d\.]+) [\d]+/');
}
return false;
}
}
?>