We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efe03bc commit 62f39afCopy full SHA for 62f39af
SoftLayer/CLI/firewall/detail.py
@@ -7,7 +7,7 @@
7
from SoftLayer.CLI import environment
8
from SoftLayer.CLI import firewall
9
from SoftLayer.CLI import formatting
10
-
+from SoftLayer import utils
11
12
@click.command()
13
@click.argument('identifier')
@@ -41,9 +41,9 @@ def get_rules_table(rules):
41
rule['action'],
42
rule['protocol'],
43
rule['sourceIpAddress'],
44
- rule['sourceIpSubnetMask'],
+ utils.lookup(rule, 'sourceIpSubnetMask'),
45
'%s:%s-%s' % (rule['destinationIpAddress'],
46
rule['destinationPortRangeStart'],
47
rule['destinationPortRangeEnd']),
48
- rule['destinationIpSubnetMask']])
+ utils.lookup(rule, 'destinationIpSubnetMask')])
49
return table
0 commit comments