Detect lo as well as loX as loopback
This commit is contained in:
committed by
craig.p.drummond
parent
06b383de29
commit
1da5eea8a0
@@ -67,7 +67,7 @@ static QString details(const QNetworkInterface &iface)
|
||||
|
||||
static QString displayName(const QNetworkInterface &iface)
|
||||
{
|
||||
if (isIfaceType(iface , "lo")) {
|
||||
if (iface.name()==QLatin1String("lo") || isIfaceType(iface , "lo")) {
|
||||
return i18n("Local loopback (%1)", details(iface));
|
||||
}
|
||||
if (isIfaceType(iface, "eth")) {
|
||||
|
||||
Reference in New Issue
Block a user