panel: Don't display loopback in network status widget

This commit is contained in:
K. Lange 2021-10-24 16:41:00 +09:00
parent 468b1ae22b
commit 896d9d3dad

View File

@ -498,6 +498,7 @@ static void update_network_status(void) {
struct dirent * ent;
while ((ent = readdir(d))) {
if (ent->d_name[0] == '.') continue;
if (!strcmp(ent->d_name, "lo")) continue; /* Ignore loopback */
check_network(ent->d_name);
}