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>
Fri, 8 Dec 2023 11:58:01 +0000 (12:58 +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>
modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js

index 318373c7c7b29dda8d63af04df35c8d4e0fcee89..c2064c0a74c51215ce9617d9990bee9f89c79d5f 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');