diff --git a/lib/ansible/modules/network/slxos/slxos_facts.py b/lib/ansible/modules/network/slxos/slxos_facts.py index f572e8d8fb..04c33c633d 100644 --- a/lib/ansible/modules/network/slxos/slxos_facts.py +++ b/lib/ansible/modules/network/slxos/slxos_facts.py @@ -291,7 +291,7 @@ class Interfaces(FactsBase): # Only gets primary IPv6 addresses def populate_ipv6_interfaces(self, data): interfaces = re.split('=+', data)[1].strip() - matches = re.findall(r'(\S+ \S+) +[\w-]+.+\s+([\d:/]+)', interfaces, re.M) + matches = re.findall(r'(\S+ \S+) +[\w-]+.+\s+([\w:/]+/\d+)', interfaces, re.M) for match in matches: interface = match[0] self.facts['interfaces'][interface]['ipv6'] = list()