18 Dec
2025
18 Dec
'25
3:19 p.m.
It's adapter order from GetAdapterAddesses(). Linux doesn't have a concept of interface metric so we have to pick some value. The Windows machines I checked consistently assign a higher metric to the loopback interface compared to the ethernet interface so it sorts after and it's clear that applications depend on getting a non-loopback adapter first. This user's is running Wine in a container and the adapter with a routeable address in that container gets the highest metric which means that after that commit the loopback adapter sorts before it. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9769#note_125810