git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
f8a2892
)
luci-proto-ipv6: map: allow /128 IPv6 prefix length
author
Arayuki Mago
<redacted>
Mon, 1 Sep 2025 15:51:33 +0000
(
00:51
+0900)
committer
Paul Donald
<redacted>
Thu, 4 Sep 2025 12:29:25 +0000
(14:29 +0200)
IPv6 prefix length is normally valid in the range 0–64.
Additionally, /128 is a special case that needs to be supported.
Signed-off-by: Arayuki Mago <redacted>
protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/map.js
patch
|
blob
|
history
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 471608b5aeee4271042120d3b025c5ee5a30cf9f..62bc3648a9cf03a77b9fa626081dbd6135819672 100644
(file)
--- a/
protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/map.js
+++ b/
protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/map.js
@@
-62,7
+62,7
@@
return network.registerProtocol('map', {
o = s.taboption('general', form.Value, 'ip6prefixlen', _('IPv6 prefix length'), _('The length of the IPv6 prefix in bits'));
o.placeholder = '16';
- o.datatype
= 'range(0,64
)';
+ o.datatype
= 'or(range(0,64),128
)';
o = s.taboption('general', form.Value, 'ealen', _('EA-bits length'));
o.datatype = 'range(0,48)';
git clone https://git.99rst.org/PROJECT