Add MikroTik RouterOS Long-term release

This commit is contained in:
Steffen Lange 2020-07-31 11:39:05 +02:00
parent e58746f551
commit 43c2f8baf7

View file

@ -0,0 +1,17 @@
<?php
class MikroTikRouterOSLTS extends PatchBase {
function __construct() {
parent::__construct('MikroTik', 'RouterOS', 'https://mikrotik.com/download');
$this->patch->setBranch('Long-term');
}
function check() : bool {
if ($this->fetch('https://mikrotik.com/download')) {
$this->str_crop('id="routeros"', '</thead>');
return $this->parse('/<th>([\d\.]+) \(Long-term\)/');
}
return false;
}
}
?>