Skip to content

Commit

Permalink
luci-proto-ipv6: dslite: suggest common AFTR addresses for Japanese m…
Browse files Browse the repository at this point in the history
…arket

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: openwrt#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>
  • Loading branch information
jow- committed May 21, 2024
1 parent e7f2e6b commit 216cbb0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")';
Expand Down

0 comments on commit 216cbb0

Please sign in to comment.