Add Dnsmasq

This commit is contained in:
Steffen Lange 2021-01-20 22:16:40 +01:00
parent 6bcafa1e01
commit 1d83acb37d

14
modules/Dnsmasq.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Dnsmasq extends PatchBase {
function __construct() {
parent::__construct('Simon Kelley', 'Dnsmasq', 'http://www.thekelleys.org.uk/dnsmasq/doc.html');
}
function check() : bool {
if ($this->fetch('http://www.thekelleys.org.uk/dnsmasq/'))
return $this->parse('/"LATEST_IS_([\d\.]+)"/');
return false;
}
}
?>