mirror of
https://github.com/jbowdre/phpIPAM-for-vRA8.git
synced 2024-11-23 07:22:19 +00:00
fix typo
This commit is contained in:
parent
7b8065c9de
commit
f0b6ae317b
1 changed files with 2 additions and 2 deletions
|
@ -73,8 +73,8 @@ def do_get_ip_ranges(self, auth_credentials, cert):
|
|||
logging.info(f"Found subnet: {ipRange['name']} - {ipRange['description']}.")
|
||||
network = ipaddress.ip_network(str(subnet['subnet']) + '/' + str(subnet['mask']))
|
||||
ipRange['ipVersion'] = 'IPv' + str(network.version)
|
||||
ipRange['startIpAddress'] = str(network[10])
|
||||
ipRange['endIpAddress'] = str(network[-6])
|
||||
ipRange['startIPAddress'] = str(network[10])
|
||||
ipRange['endIPAddress'] = str(network[-6])
|
||||
ipRange['subnetPrefixLength'] = str(subnet['mask'])
|
||||
logging.debug(ipRange)
|
||||
ipRanges.append(ipRange)
|
||||
|
|
Loading…
Reference in a new issue