From: Ray Wang Date: Tue, 13 Aug 2024 16:05:51 +0000 (+0800) Subject: luci-app-natmap: change bind port data type from port to portrange X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ca57a08eb9176f51a978cb2adbaa96b6c5dcb470;p=project%2Fluci.git luci-app-natmap: change bind port data type from port to portrange Signed-off-by: Ray Wang --- 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'));