summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <remi.nguyenvan+openwrt@gmail.com>2020-08-15 23:32:49 +0900
committerRemi NGUYEN VAN <remi.nguyenvan+openwrt@gmail.com>2020-08-16 10:47:11 +0900
commit1997bcc11bcbd14f7bf51867539f4faabf3fec0a (patch)
treebe9088067ef5eb04cb6b0f5ef1237b3aad5b23f1
parentf2e9031b871c7c00695d66441595719385a0b144 (diff)
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 <remi.nguyenvan+openwrt@gmail.com>
-rw-r--r--protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/map.js2
1 files changed, 2 insertions, 0 deletions
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'));
}
});