gluon-core: fix issue with legacy mesh on mesh_lan

When running gluon-reconfigure (and not upgrading from 2017.1.x) the removed line leads to legacy=0.
fixes #1322
This commit is contained in:
kb-light 2018-02-05 21:30:03 +01:00
parent 42763d21dc
commit 953c8978f9

View File

@ -17,7 +17,6 @@ uci:section('network', 'interface', 'mesh_lan', {
igmp_snooping = false, igmp_snooping = false,
proto = 'gluon_wired', proto = 'gluon_wired',
index = 4, index = 4,
legacy = old_proto == 'gluon_mesh',
}) })
if sysconfig.lan_ifname:match(' ') then if sysconfig.lan_ifname:match(' ') then