We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c12b01 commit 67c605aCopy full SHA for 67c605a
munet/native.py
@@ -75,7 +75,7 @@ def get_loopback_ips(c, nid):
75
if ipv6 := c.get("ipv6"):
76
if ipv6 == "auto":
77
ips.append(AUTO_LOOPBACK_IPV6_BASE + nid)
78
- elif isinstance(ip, str):
+ elif isinstance(ipv6, str):
79
ips.append(ipaddress.ip_interface(ipv6))
80
else:
81
ips.extend([ipaddress.ip_interface(x) for x in ipv6])
0 commit comments