Skip to content
Snippets Groups Projects
Commit 2990abb3 authored by Zoran Peričić's avatar Zoran Peričić
Browse files

ipadnszone: Accept localhost and localnet in allow_query.

parent c75b0292
No related branches found
No related tags found
No related merge requests found
...@@ -256,8 +256,7 @@ class DNSZoneModule(FreeIPABaseModule): ...@@ -256,8 +256,7 @@ class DNSZoneModule(FreeIPABaseModule):
if not any([ if not any([
is_ip_address(ip), is_ip_address(ip),
is_ip_network_address(ip), is_ip_network_address(ip),
ip == "any", ip in ["any", "localhost", "localnets", "none"]
ip == "none"
]) ])
] ]
if any(invalid_ips): if any(invalid_ips):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment