RouterOS: rename version 6
This commit is contained in:
parent
c74cc4dd20
commit
3e4ac070b0
2 changed files with 4 additions and 4 deletions
17
modules/MikroTikRouterOS6LTS.php
Normal file
17
modules/MikroTikRouterOS6LTS.php
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?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://mikrotik.com/download')) {
|
||||
$this->str_crop('id="routeros"', '</thead>');
|
||||
return $this->parse('/<th>([\d\.]+) Long-term<\/th>/');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue