mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Even if the size of the network is 0, it should have a netmask.
This commit is contained in:
committed by
Adrian Likins
parent
881da2b3f1
commit
968101f611
@@ -163,8 +163,7 @@ def _net_query(v):
|
||||
return str(v.network) + '/' + str(v.prefixlen)
|
||||
|
||||
def _netmask_query(v):
|
||||
if v.size > 1:
|
||||
return str(v.netmask)
|
||||
return str(v.netmask)
|
||||
|
||||
def _network_query(v):
|
||||
if v.size > 1:
|
||||
|
||||
Reference in New Issue
Block a user