Skip to content

Commit

Permalink
fix(panos_facts): Fix IPv6 on subinterfaces (#218)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonas Reineke <[email protected]>
  • Loading branch information
jonasreineke and Jonas Reineke authored Jul 20, 2021
1 parent 1703f29 commit 51e1f55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/modules/panos_facts.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@ def populate_facts(self):
"ipv6": [],
}
for sub_child in child.children:
if isinstance(child, IPv6Address):
child_info["ipv6"].append(sub_child.name)
if isinstance(sub_child, IPv6Address):
child_info["ipv6"].append(sub_child.uid)
interfaces.append(child_info)
interfaces.append(iface_info)

Expand Down

0 comments on commit 51e1f55

Please sign in to comment.