mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Even if the size of the network is 0, it should have a netmask.
This commit is contained in:
parent
881da2b3f1
commit
968101f611
1 changed files with 1 additions and 2 deletions
|
@ -163,7 +163,6 @@ def _net_query(v):
|
|||
return str(v.network) + '/' + str(v.prefixlen)
|
||||
|
||||
def _netmask_query(v):
|
||||
if v.size > 1:
|
||||
return str(v.netmask)
|
||||
|
||||
def _network_query(v):
|
||||
|
|
Loading…
Reference in a new issue