-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 15.0.23, 16.0.21
-
Fix Version/s: None
-
Component/s: Firewall
-
Labels:None
-
Sprint:Sprint 74, Sprint 75
-
Bug Tracker:Customer Issue
-
ToDo:
-
Asterisk Version:16.25.3 and 16.24.1
-
Distro Version:16.0.21.3 and 15.0.23.11
-
Distro:FreePBX Distro
When trying to delete an entry from Firewall blacklist that uses a subnet mask, we get this error:
In DB_Helper.class.php line 145:
Can't getConfig for null
Here is how the error can be reproduced (Thanks to lgaetz!)
# fwconsole firewall add blacklist 23.23.23.23
Attempting to add '23.23.23.23' to Blacklist ... Success!
# fwconsole firewall list blacklist
All blacklisted entries.
23.23.23.23
# fwconsole firewall del blacklist 23.23.23.23
Removed 23.23.23.23 from Blacklist.
# fwconsole firewall add blacklist 23.23.23.0/24
Attempting to add '23.23.23.0/24' to Blacklist ... Success!
[root@uc-68246819 admin]# fwconsole firewall list blacklist
All blacklisted entries.
23.23.23.0/24
# fwconsole firewall del blacklist 23.23.23.0/24
In DB_Helper.class.php line 145:
Can't getConfig for null