]> git.ipfire.org Git - people/ms/network.git/commit
device_get_speed(): Break if speed is not readable
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 13 Jun 2017 18:24:41 +0000 (19:24 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 13 Jun 2017 18:24:41 +0000 (19:24 +0100)
commitf887607cc3da5271d3d475e366b13beec0b27664
treee910bcca74237efaa4e2b1c9d1a870712246de53
parente023191b677d0afd561b8c9a30b3ad59aecb8d99
device_get_speed(): Break if speed is not readable

This is usually the case when a device has no link
(i.e. the speed is unknown).

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.device