Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split network.lua's owrt_ifname_parser #998

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

ilario
Copy link
Member

@ilario ilario commented Mar 30, 2023

From OpenWrt 19.07 to 21.02, the content of /etc/config/wireless did not change (except #997) but the content of interfaces and devices in /etc/config/network changed significantly.

Inside lime-system's network.lua, the owrt_ifname_parser was used both for parsing wifi-iface from /etc/config/wireless and for interface from /etc/config/network.

In this yet-to-be-tested code, I added a new section for probing only the interfaces from /etc/config/networks.

Also, I removed the "compound interface" code from owrt_ifname_parser as I suppose this was needed for br-lan, that now passed from being an interface to a device and so is taken care by owrt_device_parser.

@ilario
Copy link
Member Author

ilario commented Mar 30, 2023

Tested, works for me for getting dhcp activated on wan interface.

@G10h4ck G10h4ck merged commit 39a57a7 into libremesh:master Mar 30, 2023
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants