Skip to content

Commit bad887a

Browse files
committed
Fix nonexistant CONST
1 parent de55f86 commit bad887a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/plugins-available/bind_plugin.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ function soa_dnssec_update(&$data, $new=false) {
208208

209209
//* Check for available entropy
210210
if (file_get_contents('/proc/sys/kernel/random/entropy_avail') < 200) {
211-
$app->log('DNSSEC ERROR: We are low on entropy. This could cause server script to fail. Please consider installing package haveged.', LOGLEVEL_ERR);
211+
$app->log('DNSSEC ERROR: We are low on entropy. This could cause server script to fail. Please consider installing package haveged.', LOGLEVEL_ERROR);
212212
echo "DNSSEC ERROR: We are low on entropy. This could cause server script to fail. Please consider installing package haveged.\n";
213213
return false;
214214
}
@@ -219,7 +219,7 @@ function soa_dnssec_update(&$data, $new=false) {
219219
$app->system->exec_safe('cd ?; named-checkzone ? ? | egrep -ho \'[0-9]{10}\'', $dns_config['bind_zonefiles_dir'], $domain, $dns_config['bind_zonefiles_dir'].'/'.$filespre.$domain);
220220
$retState = $app->system->last_exec_retcode();
221221
if ($retState != 0) {
222-
$app->log('DNSSEC Error: Error in Zonefile for '.$domain, LOGLEVEL_ERR);
222+
$app->log('DNSSEC Error: Error in Zonefile for '.$domain, LOGLEVEL_ERROR);
223223
return false;
224224
}
225225

0 commit comments

Comments
 (0)