Add support for multiple LAN interfaces in routing mode

This commit is contained in:
Alfredo Cardigliano 2022-09-06 11:05:06 +02:00
parent f541963ba8
commit 6e834992e5
5 changed files with 79 additions and 59 deletions

View file

@ -67,7 +67,8 @@ local min_wan_ifaces = "1"
local max_lan_ifaces = "1"
local max_wan_ifaces = ""
if mode == "routing" then
-- nothing to change
-- testing
max_lan_ifaces = ""
elseif mode == "bridging" then
-- temporary limits - we need to support multiple LAN interfaces in C code
max_wan_ifaces = "1"