if DHCP main settings, check if entry is valid
This commit is contained in:
parent
95aa975230
commit
a8a597258a
|
@ -137,6 +137,9 @@ class ddns extends baseModule {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
if (!$this->check_if_ddns_is_enable()) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
// Account settings
|
// Account settings
|
||||||
$ip = $this->getDNSServer();
|
$ip = $this->getDNSServer();
|
||||||
if (!empty($ip) && !check_ip($ip)) return false;
|
if (!empty($ip) && !check_ip($ip)) return false;
|
||||||
|
|
Loading…
Reference in New Issue