summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2024-05-20 22:56:18 +0900
committerJo-Philipp Wich <jo@mein.io>2024-05-21 09:24:36 +0200
commit216cbb0e5ec4e10512275ecb5225ba09dadb1ce6 (patch)
tree8d78a874048844dcc813a4a055f8705ab8d919d1
parente7f2e6bc8ee2bbbfd3d1f7caa570a6529cc03eee (diff)
luci-proto-ipv6: dslite: suggest common AFTR addresses for Japanese market
Include in DS-Lite General Settings common AFTR addresses for Japan market to make it easier to configure OpenWrt in Japan and help people to save money on hardware. Fixes: #7133 Ref: https://forum.openwrt.org/t/x/195654 Suggested-by: Konstantin-Glukhov <24302271+Konstantin-Glukhov@users.noreply.github.com> [shorten subject, rewrap commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dslite.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dslite.js b/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dslite.js
index 5f1fbf4f7a..5981973e31 100644
--- a/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dslite.js
+++ b/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dslite.js
@@ -41,6 +41,8 @@ return network.registerProtocol('dslite', {
o = s.taboption('general', form.Value, 'peeraddr', _('DS-Lite AFTR address'));
o.rmempty = false;
o.datatype = 'or(hostname,ip6addr("nomask"))';
+ o.value("gw.transix.jp", _("Transix (Japan only)"));
+ o.value("dgw.xpass.jp", _("Cross Pass (Japan only)"));
o = s.taboption('general', form.Value, 'ip6addr', _('Local IPv6 address'), _('Leave empty to use the current WAN address'));
o.datatype = 'ip6addr("nomask")';