summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-natmap/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorRay Wang <r@hev.cc>2024-08-14 00:05:51 +0800
committerPaul Donald <newtwen+github@gmail.com>2024-08-15 11:45:53 +0200
commitca57a08eb9176f51a978cb2adbaa96b6c5dcb470 (patch)
treef4a63384aa524f23657478287472c6c99660696d /applications/luci-app-natmap/htdocs/luci-static/resources
parent521dc76ab34b87df9ab33e53fe1e82a6007391ae (diff)
luci-app-natmap: change bind port data type from port to portrange
Signed-off-by: Ray Wang <r@hev.cc>
Diffstat (limited to 'applications/luci-app-natmap/htdocs/luci-static/resources')
-rw-r--r--applications/luci-app-natmap/htdocs/luci-static/resources/view/natmap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-natmap/htdocs/luci-static/resources/view/natmap.js b/applications/luci-app-natmap/htdocs/luci-static/resources/view/natmap.js
index 14dea3aa19..e837fbf2a9 100644
--- a/applications/luci-app-natmap/htdocs/luci-static/resources/view/natmap.js
+++ b/applications/luci-app-natmap/htdocs/luci-static/resources/view/natmap.js
@@ -91,7 +91,7 @@ return view.extend({
o.rmempty = false;
o = s.option(form.Value, 'port', _('Bind port'));
- o.datatype = 'port';
+ o.datatype = 'portrange';
o.rmempty = false;
o = s.option(form.Flag, '_forward_mode', _('Forward mode'));