bpl: uci: extend default lan ifaces to have lanX

Curretly lan1, lan2 etc. default eth ifaces are not
supported by UCI logic, that makes it not work
on platforms like Freedom and Haze.

It's needed to add lan1-4 to make it work as a
temporary solution

Signed-off-by: Volodymyr Pavlenko <pavlenko.vv@pm.me>
This commit is contained in:
Volodymyr Pavlenko
2025-02-27 13:55:51 +02:00
parent 930ff87f4c
commit d3af36b752

View File

@@ -79,7 +79,8 @@ extern "C" {
#define RETURN_OK 0
// Default UCI Lan interface names. It needs to be space separeted.
constexpr char DEFAULT_UCI_LAN_INTERFACE_NAMES[] = "eth0_1 eth0_2 eth0_3 eth0_4";
constexpr char DEFAULT_UCI_LAN_INTERFACE_NAMES[] =
"eth0_1 eth0_2 eth0_3 eth0_4 lan0 lan1 lan2 lan3 lan4";
namespace beerocks {
namespace bpl {