mirror of
https://github.com/outbackdingo/openwrt.git
synced 2026-02-12 21:50:35 +00:00
This patch provides a generic switch_dev_ops 'get_port_stats()' callback by taping into the relevant port MIB counters. This callback is used by swconfig_leds led trigger to blink LEDs with port network traffic. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>