From: Remi NGUYEN VAN Date: Sat, 15 Aug 2020 14:32:49 +0000 (+0900) Subject: protocols: add legacymap option for map X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1997bcc11bcbd14f7bf51867539f4faabf3fec0a;p=project%2Fluci.git protocols: add legacymap option for map legacymap causes map to use the legacy IPv6 Interface Identifier format that was described in draft-ietf-softwire-map-00, but was eventually changed in RFC7597. It is however still used by some major ISPs, including in Japan. Signed-off-by: Remi NGUYEN VAN --- diff --git a/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/map.js b/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/map.js index 006ebfbf08..2c7f3cfe97 100644 --- a/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/map.js +++ b/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/map.js @@ -92,5 +92,7 @@ return network.registerProtocol('map', { o = s.taboption('advanced', form.Value, 'mtu', _('Use MTU on tunnel interface')); o.placeholder = '1280'; o.datatype = 'max(9200)'; + + o = s.taboption('advanced', form.Flag, 'legacymap', _('Use legacy MAP'), _('Use legacy MAP interface identifier format (draft-ietf-softwire-map-00) instead of RFC7597')); } });