libremesh / lime-packages

LibreMesh packages configuring OpenWrt for wireless mesh networking
https://libremesh.org/
GNU Affero General Public License v3.0
281 stars 96 forks source link

lime-config never removes ports from bridge #1083

Closed pony1k closed 9 months ago

pony1k commented 9 months ago

The code that is supposed to remove ports from br-lan bridge does not work anymore since the configuration syntax changed from OpenWrt 19.07. to 21.03. This is the line that is supposed to do this: https://github.com/libremesh/lime-packages/blob/8b577bf3d0ffc8974144f00005adb6f327733109/packages/lime-system/files/usr/lib/lua/lime/proto/lan.lua#L23

see also: 90fbb45677ce2b435721f1b6f58c97f8bc1a7c76

For example when I put

config net
    option linux_name 'lan'
    list protocols 'babeld:17' 

into the lime-node file, list ports 'lan' remains in the bridge, although it shouldn't.