mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
If remote syslog is unchecked, clear the ip address from the remote syslog box.
This commit is contained in:
parent
e15ebe193d
commit
f3a5f0c586
@ -76,6 +76,8 @@ if ($_POST) {
|
||||
$oldnologdefaultblock = isset($config['syslog']['nologdefaultblock']);
|
||||
$config['syslog']['nologdefaultblock'] = $_POST['logdefaultblock'] ? false : true;
|
||||
$config['syslog']['rawfilter'] = $_POST['rawfilter'] ? true : false;
|
||||
if($config['syslog']['enable'] == false)
|
||||
unset($config['syslog']['remoteserver']);
|
||||
|
||||
write_config();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user