fix for AIX network facts

fixes #12434
This commit is contained in:
Brian Coca 2015-09-18 10:43:53 -04:00
parent d7b61db6dc
commit 11707576a3

View file

@ -2355,7 +2355,7 @@ class AIXNetwork(GenericBsdIfconfigNetwork, Network):
return interface['v4'], interface['v6']
# AIX 'ifconfig -a' does not have three words in the interface line
def get_interfaces_info(self, ifconfig_path, ifconfig_options):
def get_interfaces_info(self, ifconfig_path, ifconfig_options='-a'):
interfaces = {}
current_if = {}
ips = dict(