From f0b6ae317b2f8e490218167e525675a8404b2614 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Mon, 11 Jan 2021 18:00:07 -0600 Subject: [PATCH] fix typo --- src/main/python/get_ip_ranges/source.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/python/get_ip_ranges/source.py b/src/main/python/get_ip_ranges/source.py index f406ed7..59211c3 100644 --- a/src/main/python/get_ip_ranges/source.py +++ b/src/main/python/get_ip_ranges/source.py @@ -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)