diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-06-03 10:32:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-03 10:32:42 +0200 |
commit | f2c9d0581a8b806f505c47644b4f20062c9c1654 (patch) | |
tree | 3db6cd358e8080b58528e801795db0e4c29af1de | |
parent | 05f07e55b7c96e0efd161425df6e1f628544af73 (diff) | |
parent | 6dd22ec98da0b71f00caa5712456606adeff7811 (diff) |
Merge pull request #4126 from wjowsa/vxlan-port
luci-proto-vxlan: add destination port option
-rw-r--r-- | protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan.js | 5 |
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)'; |