diff --git a/SoftLayer/CLI/firewall/detail.py b/SoftLayer/CLI/firewall/detail.py index 06c2c790b..1beb1a32a 100644 --- a/SoftLayer/CLI/firewall/detail.py +++ b/SoftLayer/CLI/firewall/detail.py @@ -7,6 +7,7 @@ from SoftLayer.CLI import environment from SoftLayer.CLI import firewall from SoftLayer.CLI import formatting +from SoftLayer import utils @click.command() @@ -41,9 +42,9 @@ def get_rules_table(rules): rule['action'], rule['protocol'], rule['sourceIpAddress'], - rule['sourceIpSubnetMask'], + utils.lookup(rule, 'sourceIpSubnetMask'), '%s:%s-%s' % (rule['destinationIpAddress'], rule['destinationPortRangeStart'], rule['destinationPortRangeEnd']), - rule['destinationIpSubnetMask']]) + utils.lookup(rule, 'destinationIpSubnetMask')]) return table