File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -150,15 +150,15 @@ def normalize_interface_choice(
150
150
elif choice is InterfaceChoice .All :
151
151
if ip_version != IPVersion .V4Only :
152
152
result .extend (
153
- ip
154
- for ip in get_all_addresses_v6 ()
155
- if (ip_address := _cached_ip_addresses (ip [0 ])) and not ip_address .is_loopback
153
+ ip_tuple
154
+ for ip_tuple in get_all_addresses_v6 ()
155
+ if (ip_address := _cached_ip_addresses (ip_tuple [0 ])) and not ip_address .is_loopback
156
156
)
157
157
if ip_version != IPVersion .V6Only :
158
158
result .extend (
159
159
ip
160
160
for ip in get_all_addresses ()
161
- if (ip_address := _cached_ip_addresses (ip [ 0 ] )) and not ip_address .is_loopback
161
+ if (ip_address := _cached_ip_addresses (ip )) and not ip_address .is_loopback
162
162
)
163
163
if not result :
164
164
raise RuntimeError (
You can’t perform that action at this time.
0 commit comments