Skip to content
Snippets Groups Projects
Commit 968ac7f5 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] `--autoconf` could prefer localhost to local network interface

parent bc355c9f
No related branches found
No related tags found
No related merge requests found
......@@ -296,13 +296,13 @@ function getBestLocal(family:string) {
}
}
const interfacePriorityRegCatcher = [
/^tun\d/,
/^enp\ds\d/,
/^enp\ds\df\d/,
/^eth\d/,
/^tun\d+/,
/^enp\d+s\d+/,
/^enp\d+s\d+f\d+/,
/^eth\d+/,
/^Ethernet/,
/^wlp\ds\d/,
/^wlan\d/,
/^wlp\d+s\d+/,
/^wlan\d+/,
/^Wi-Fi/,
/^lo/,
/^Loopback/,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment