diff options
| author | Victor Kareh <[email protected]> | 2026-03-11 17:03:37 -0400 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-03-11 17:03:37 -0400 |
| commit | 5cd424ccd62932c5f51f0357ddad97d6f5c79b47 (patch) | |
| tree | f5ed8e76143014e1d408919298b31163d067abb5 /multiload/data | |
| parent | d433bbd9aeb7ae3377e59c70f6608c3e29f9ebbc (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 'multiload/data')
0 files changed, 0 insertions, 0 deletions
