#6546 Filtered out self assigned ip addresses from being displayed
This commit is contained in:
parent
26d50d1e18
commit
af08223dae
|
@ -1034,10 +1034,12 @@ QString MainWindow::getIPAddresses()
|
|||
hinted = true;
|
||||
format = "<b>%1</b>, ";
|
||||
}
|
||||
|
||||
//Prevent self assigned IPs being displayed
|
||||
if (!address.startsWith("169.254")) {
|
||||
result += format.arg(address);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (result == "") {
|
||||
return tr("Unknown");
|
||||
|
|
Loading…
Reference in New Issue