#6546 Filtered out self assigned ip addresses from being displayed

This commit is contained in:
Jamie Newbon 2019-08-22 10:34:38 +01:00 committed by Jnewbon
parent 26d50d1e18
commit af08223dae
1 changed files with 4 additions and 2 deletions

View File

@ -1034,8 +1034,10 @@ QString MainWindow::getIPAddresses()
hinted = true;
format = "<b>%1</b>, ";
}
result += format.arg(address);
//Prevent self assigned IPs being displayed
if (!address.startsWith("169.254")) {
result += format.arg(address);
}
}
}