diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-05-27 18:53:54 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-05-27 18:54:38 +0200 |
commit | 0de42b056b4f35d43df7b942531727a0322645a8 (patch) | |
tree | 9c3a1b5fd052052e1802e58f3ad881a90f84bbf7 /protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan.js | |
parent | d79bbdd5b08e2630d2320b82e365c5779b6c7298 (diff) |
luci-proto-vxlan: fix uci option names
Fixes: d79bbdd5b ("luci-proto-vxlan: add vxlan protol handler")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan.js')
-rw-r--r-- | protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan.js | 8 |
1 files changed, 4 insertions, 4 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 3a7f8a1d1..8afd476a5 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 @@ -37,19 +37,19 @@ return network.registerProtocol('vxlan', { renderFormOptions: function(s) { var o; - o = s.taboption('general', form.Value, 'remote', _('Remote IPv4 address'), _('The IPv4 address or the fully-qualified domain name of the remote end.')); + o = s.taboption('general', form.Value, 'peeraddr', _('Remote IPv4 address'), _('The IPv4 address or the fully-qualified domain name of the remote end.')); o.optional = false; o.datatype = 'or(hostname,ip4addr("nomask"))'; - o = s.taboption('general', form.Value, 'local', _('Local IPv4 address'), _('The local IPv4 address over which the tunnel is created (optional).')); + o = s.taboption('general', form.Value, 'ipaddr', _('Local IPv4 address'), _('The local IPv4 address over which the tunnel is created (optional).')); o.optional = true; o.datatype = 'ip4addr("nomask")'; - o = s.taboption('general', form.Value, 'id', _('VXLAN network identifier'), _('ID used to uniquely identify the VXLAN')); + 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)'; - o = s.taboption('general', widgets.NetworkSelect, 'link', _('Bind interface'), _('Bind the tunnel to this interface (optional).')); + o = s.taboption('general', widgets.NetworkSelect, 'tunlink', _('Bind interface'), _('Bind the tunnel to this interface (optional).')); o.exclude = s.section; o.nocreate = true; o.optional = true; |