diff --git a/app/modules/bma/lib/network.ts b/app/modules/bma/lib/network.ts index 03e2a7863b025b5d74b58e6b3df17c39d6b87e73..1c936f08608e011d124bbeffc6a6b2e5ec10b1b3 100644 --- a/app/modules/bma/lib/network.ts +++ b/app/modules/bma/lib/network.ts @@ -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/,