luci-proto-openfortivpn: correctness fixes
authorPaul Donald <redacted>
Tue, 26 May 2026 09:48:22 +0000 (12:48 +0300)
committerPaul Donald <redacted>
Wed, 27 May 2026 12:49:47 +0000 (15:49 +0300)
Signed-off-by: Paul Donald <redacted>
protocols/luci-proto-openfortivpn/htdocs/luci-static/resources/protocol/openfortivpn.js

index e116ecbb73258bb3c15931ab0999bd34dda066e0..6baadc62df6c50bdefd5e3059a45cc2ffdf13033 100644 (file)
@@ -170,7 +170,7 @@ return network.registerProtocol('openfortivpn', {
 
                o = s.taboption("advanced", form.Value, 'local_ip', _("Local IP address"));
                o.placeholder = '192.168.0.5'
-               o.dataype = 'ipaddr'
+               o.datatype = 'ipaddr'
                o.optional = true;
 
                o = s.taboption('advanced', form.Value, 'realm', _("Realm"), _("Optional. Specify the realm if your VPN gateway uses custom login portals."));
git clone https://git.99rst.org/PROJECT