Skip to content

Commit

Permalink
luci-app-natmap: change bind port data type from port to portrange
Browse files Browse the repository at this point in the history
Signed-off-by: Ray Wang <[email protected]>
  • Loading branch information
heiher authored and systemcrash committed Aug 15, 2024
1 parent 521dc76 commit ca57a08
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down

0 comments on commit ca57a08

Please sign in to comment.