Closed jeffothy closed 2 years ago
@winks , any concerns here?
Looks awesome, sorry for breaking your use case, I hadn't thought of bond interfaces. It makes me think again how we could avoid the downsides of the old "filter out" approach and also the current "filter in" :/
@jeffothy thanks for your PR and @winks thanks for helping out!
Use case: I use a bond as my main network interface, this breaks with the most recent change in net-traffic to use
/proc/net/route
for finding the interface with statistics to be used on the net-traffic i3xrocks script.Changes:
bond
, use theactive_slave
of the bond to detect traffic for the bond interfaceNote: this would be my first contribution to the project, so I'm definitely more than happy to take input/feedback here!