From: Jo-Philipp Wich Date: Fri, 8 Dec 2023 11:56:25 +0000 (+0100) Subject: luci-mod-network: remove unused option property X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b9af402ef0b257e4a19faadb53fef96e9bd79faf;p=project%2Fluci.git luci-mod-network: remove unused option property The logic handling the `migrate` property has been dropped in commit f689d0d208 ("luci-mod-network: refactor device configuration") so remove the now redundant property as well. Signed-off-by: Jo-Philipp Wich (cherry picked from commit ea81dde0ebb10947d1334cc9c732920e76db4a17) --- diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js b/modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js index a6d6036063..f823d69604 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js @@ -724,7 +724,6 @@ return baseclass.extend({ o = this.replaceOption(s, 'devgeneral', cbiFlagTristate, 'ipv6', _('Enable IPv6')); o.sysfs = '!/proc/sys/net/ipv6/conf/%s/disable_ipv6'.format(devname || 'default'); - o.migrate = false; o = this.replaceOption(s, 'devadvanced', cbiFlagTristate, 'ip6segmentrouting', _('Enable IPv6 segment routing')); o.sysfs = '/proc/sys/net/ipv6/conf/%s/seg6_enabled'.format(devname || 'default');