This commit is contained in:
James Page 2014-10-02 21:07:32 +01:00
parent 2da4345ed2
commit 8be6faf3a0
1 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,8 @@ def get_address_in_network(network, fallback=None, fatal=False):
else:
if fatal:
not_found_error_out()
else:
return None
_validate_cidr(network)
network = netaddr.IPNetwork(network)