LibreQoE / LibreQoS

A Quality of Experience and Smart Queue Management system for ISPs. Leverage CAKE to improve network responsiveness, enforce bandwidth plans, and reduce bufferbloat.
https://libreqos.io/
GNU General Public License v2.0
464 stars 50 forks source link

Hotfix: handle node "type" entry #345

Closed thebracket closed 1 year ago

thebracket commented 1 year ago

Adding "type" to network.json is awesome, but it broke a bit of Rust. This patch adds support for the type field, and fixes a rare "none" issue that mostly seems to affect my UISP setup.

thebracket commented 1 year ago

This needs one more fix, just realized that it also needs to handle there not being a type field gracefully.

thebracket commented 1 year ago

Ok, this PR should be good to go now.