summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-vxlan/htdocs
diff options
context:
space:
mode:
authorWojciech Jowsa <wojciech.jowsa@gmail.com>2020-06-01 16:34:22 +0200
committerWojciech Jowsa <wojciech.jowsa@gmail.com>2020-06-01 16:36:23 +0200
commit6dd22ec98da0b71f00caa5712456606adeff7811 (patch)
tree2efe965986194b2b1a677a9448663224f0fef5b7 /protocols/luci-proto-vxlan/htdocs
parent4e202475e255865618465689eeae1a3b502a65c9 (diff)
luci-proto-vxlan: add destination port option
Signed-off-by: Wojciech Jowsa <wojciech.jowsa@gmail.com>
Diffstat (limited to 'protocols/luci-proto-vxlan/htdocs')
-rw-r--r--protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan.js b/protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan.js
index 8afd476a53..9927f0bc65 100644
--- a/protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan.js
+++ b/protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan.js
@@ -45,6 +45,11 @@ return network.registerProtocol('vxlan', {
o.optional = true;
o.datatype = 'ip4addr("nomask")';
+ o = s.taboption('general', form.Value, 'port', _('Destination port'));
+ o.optional = true;
+ o.placeholder = 4789;
+ o.datatype = 'port';
+
o = s.taboption('general', form.Value, 'vid', _('VXLAN network identifier'), _('ID used to uniquely identify the VXLAN'));
o.optional = true;
o.datatype = 'range(1, 16777216)';