From: Wojciech Jowsa Date: Mon, 1 Jun 2020 14:34:22 +0000 (+0200) Subject: luci-proto-vxlan: add destination port option X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F4126%2Fhead;p=oweals%2Fluci.git luci-proto-vxlan: add destination port option Signed-off-by: Wojciech Jowsa --- 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 8afd476a5..9927f0bc6 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)';