From ca57a08eb9176f51a978cb2adbaa96b6c5dcb470 Mon Sep 17 00:00:00 2001 From: Ray Wang Date: Wed, 14 Aug 2024 00:05:51 +0800 Subject: [PATCH] luci-app-natmap: change bind port data type from port to portrange Signed-off-by: Ray Wang --- .../luci-app-natmap/htdocs/luci-static/resources/view/natmap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')); -- 2.30.2