summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-openfortivpn
diff options
context:
space:
mode:
authorAaron Goodman <aaronjg@stanford.edu>2020-08-26 21:54:06 -0400
committerAaron Goodman <aaronjg@stanford.edu>2020-08-26 21:54:06 -0400
commit642f738ead202c1f82bf3a5712cac09444cbd77f (patch)
treeac3facf0155d4c38b95d52c1b8f601ce27e21ee6 /protocols/luci-proto-openfortivpn
parent3e480874ff85bb7728c8314f0df0b3ac0d34fecd (diff)
luci-proto-openfortivpn: update config option names
update config option names for openfortivpn version 1.14-1-8 Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
Diffstat (limited to 'protocols/luci-proto-openfortivpn')
-rw-r--r--protocols/luci-proto-openfortivpn/htdocs/luci-static/resources/protocol/openfortivpn.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/luci-proto-openfortivpn/htdocs/luci-static/resources/protocol/openfortivpn.js b/protocols/luci-proto-openfortivpn/htdocs/luci-static/resources/protocol/openfortivpn.js
index b1c7c229f0..d0e6bdb011 100644
--- a/protocols/luci-proto-openfortivpn/htdocs/luci-static/resources/protocol/openfortivpn.js
+++ b/protocols/luci-proto-openfortivpn/htdocs/luci-static/resources/protocol/openfortivpn.js
@@ -39,7 +39,7 @@ return network.registerProtocol('openfortivpn', {
renderFormOptions: function(s) {
var o;
- o = s.taboption('general', form.Value, 'server', _('VPN Server'));
+ o = s.taboption('general', form.Value, 'peeraddr', _('VPN Server'));
o.datatype = 'host(0)';
o = s.taboption('general', form.Value, 'port', _('VPN Server port'));
@@ -52,7 +52,7 @@ return network.registerProtocol('openfortivpn', {
o = s.taboption('general', form.Value, 'password', _('Password'));
o.password = true;
- o = s.taboption('advanced', widgets.NetworkSelect, 'iface_name', _('Bind interface'), _('Bind the tunnel to this interface (optional).'));
+ o = s.taboption('advanced', widgets.NetworkSelect, 'tunlink', _('Bind interface'), _('Bind the tunnel to this interface (optional).'));
o.exclude = s.section;
o.nocreate = true;
o.optional = true;