RouterOS: rename version 6

This commit is contained in:
Steffen Lange 2022-01-13 17:12:20 +01:00
parent c74cc4dd20
commit 3e4ac070b0
2 changed files with 4 additions and 4 deletions

View file

@ -1,9 +1,9 @@
<?php <?php
class MikroTikRouterOS extends PatchBase { class MikroTikRouterOS6 extends PatchBase {
function __construct() { function __construct() {
parent::__construct('MikroTik', 'RouterOS', 'https://mikrotik.com/download'); parent::__construct('MikroTik', 'RouterOS', 'https://mikrotik.com/download');
$this->patch->setBranch('Stable'); $this->patch->setBranch('v6 Stable');
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://mikrotik.com/download')) { if ($this->fetch('https://mikrotik.com/download')) {

View file

@ -1,9 +1,9 @@
<?php <?php
class MikroTikRouterOSLTS extends PatchBase { class MikroTikRouterOS6LTS extends PatchBase {
function __construct() { function __construct() {
parent::__construct('MikroTik', 'RouterOS', 'https://mikrotik.com/download'); parent::__construct('MikroTik', 'RouterOS', 'https://mikrotik.com/download');
$this->patch->setBranch('Long-term'); $this->patch->setBranch('v6 Long-term');
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://mikrotik.com/download')) { if ($this->fetch('https://mikrotik.com/download')) {