Skip to content
Snippets Groups Projects
Unverified Commit 6dbbe3a2 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman Committed by GitHub
Browse files

Merge pull request #632 from zpericic/ipadnszone_allow_query

ipadnszone: Accept localhost and localnet in allow_query.
parents 29fb281b 2990abb3
No related branches found
No related tags found
No related merge requests found
...@@ -246,8 +246,7 @@ class DNSZoneModule(FreeIPABaseModule): ...@@ -246,8 +246,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