Actions
Bug #14990
closedIPsec log categories set to "Audit" do not function properly or save properly in the GUI
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
23.09.1
Release Notes:
Default
Affected Version:
Affected Architecture:
Description
The internal value of the IPsec log level "Audit" is 0
which is confusing the PHP empty()
test in ipsec_get_loglevels()
. When changing the value in the GUI it appears to save, and config.xml
gets updated properly, but ipsec_get_loglevels()
ignores the customized value when reading it back for display in the GUI or when used in strongSwan so it is effectively ignored.
Changing the empty()
test to a strlen()
style test instead works around the PHP issue.
Actions