diff --git a/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces b/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces index d2814968..6371cc61 100755 --- a/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces +++ b/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces @@ -50,7 +50,11 @@ end local lan_ifname = iface_exists(lan_interfaces) local wan_ifname = iface_exists(wan_interfaces) -if platform.match('lantiq') then +if platform.match('ath79', 'generic', { + 'tplink,wbs210-v2', +}) then + lan_ifname, wan_ifname = wan_ifname, lan_ifname +elseif platform.match('lantiq') then local switch_data = board_data.switch or {} local switch0_data = switch_data.switch0 or {} local roles_data = switch0_data.roles or {}