Skip to content
Commit 51b519e5 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-base: network.js: prefer netifd traffic stats over getifaddrs() ones



Overwrite the traffic statistics reported by getifaddrs() with the ones
reported by the network.device/status procedure if available as the
getifaddr() stats are limited to 32bit counters.

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 5f54983a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment