Skip to content

Commit 87ad66c

Browse files
Williangalvanipatrickelectric
authored andcommitted
NetworkInterfacePriorityMenu: use a known-good host to check -per-interface internet
1 parent beceba1 commit 87ad66c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

core/frontend/src/components/app/NetworkInterfacePriorityMenu.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,7 @@ export default Vue.extend({
134134
return
135135
}
136136
137-
// TODO: Should move to some of the online hosts from has_internet test as soon as PR from make internet non
138-
// binary is merged
139-
const host = '1.1.1.1'
137+
const host = helper.reachable_hosts?.[0] ?? '1.1.1.1'
140138
await Promise.all(interfaces.map((iface) => this.checkInterfaceInternet(host, iface)))
141139
},
142140
async setHighestInterface(): Promise<void> {

0 commit comments

Comments
 (0)