luci-mod-network: remove unused option property
authorJo-Philipp Wich <jo@mein.io>
Fri, 8 Dec 2023 11:56:25 +0000 (12:56 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 13 Mar 2024 08:20:39 +0000 (09:20 +0100)
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 <jo@mein.io>
(cherry picked from commit ea81dde0ebb10947d1334cc9c732920e76db4a17)

modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js

index a6d60360635cebc8eafdbd717b2a90801fa99fd0..f823d696042309c0392b6158b317f0ab09474813 100644 (file)
@@ -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');