diff options
| author | Victor Kareh <[email protected]> | 2026-03-11 17:03:37 -0400 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-03-17 11:40:37 -0400 |
| commit | 2be35978220f4abfd7ee1a3ab92761e925836f93 (patch) | |
| tree | 4a80ea7f8d2b64aef317481cc4ca1a1218604c81 /trashapplet/docs/ta | |
| parent | 9bbc48ae659819b4bb1322009f72c51ee3926e2f (diff) | |
| download | mate-applets-netspeed-missing-device-warnings.tar.bz2 mate-applets-netspeed-missing-device-warnings.tar.xz | |
netspeed: avoid glibtop warnings for non-existent network devicesnetspeed-missing-device-warnings
When a network interface is disabled at the kernel level, the applet
tries to read from a device that no longer exist, generating continuous
warning messages in syslog.
Check if the device exists before calling glibtop_get_netload in both
is_dummy_device and get_device_info. When the device doesn't exist,
get_device_info returns a non-running device info, allowing the existing
auto-change logic to find an active device.
Fixes #688
Diffstat (limited to 'trashapplet/docs/ta')
0 files changed, 0 insertions, 0 deletions
