Verified Commit b0f905e7 authored by Adrian Schollmeyer's avatar Adrian Schollmeyer
Browse files

fix generator/hosts: Don't add extra ping checks for primary ips

parent 98c56207
......@@ -308,7 +308,7 @@ class NetBoxParser:
)
for ip in interface_ips:
if ip == self.primary_ip4 or ip == self.primary_ip6:
if ip.address == self.primary_ip4 or ip.address == self.primary_ip6:
continue
if ip.family.value == 4:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment