mirror of
https://github.com/deskflow/deskflow.git
synced 2026-06-28 21:02:21 +08:00
#6546 Filtered out self assigned ip addresses from being displayed
This commit is contained in:
parent
26d50d1e18
commit
af08223dae
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user