Closed ghost closed 1 year ago
I have a device on OpenWrt 22.03.x with spanning tree protocol enabled on the br-lan bridge. OpenWISP is showing Spanning Tree as being off though. I think it could be because it is reporting a "device" not an "interface".
The UCI is: network.@device[0].stp='1'
network.@device[0].stp='1'
We need to update the code to look in device objects too.
This is the part of the code which needs to be upgraded:
https://github.com/openwisp/openwrt-openwisp-monitoring/blob/0f829f80fcd751b005b5ff8c0923ef0ca8fef081/openwisp-monitoring/files/lib/openwisp-monitoring/interfaces.lua#L169
I have a device on OpenWrt 22.03.x with spanning tree protocol enabled on the br-lan bridge. OpenWISP is showing Spanning Tree as being off though. I think it could be because it is reporting a "device" not an "interface".
The UCI is:
network.@device[0].stp='1'