openvpn: Add more options
authorEmil Renner Berthing <esmil@mailme.dk>
Tue, 23 Oct 2012 10:29:23 +0000 (13:29 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 29 Oct 2012 10:37:48 +0000 (12:37 +0200)
Connman              OpenVPN

OpenVPN.NSCertType   --ns-cert-type <client|server>
OpenVPN.AskPass      --askpass <file>
OpenVPN.AuthNoCache  --auth-nocache

plugins/openvpn.c

index 8df8a3f..c3e7bcd 100644 (file)
@@ -55,9 +55,12 @@ struct {
        { "OpenVPN.Cert", "--cert", 1 },
        { "OpenVPN.Key", "--key", 1 },
        { "OpenVPN.MTU", "--mtu", 1 },
+       { "OpenVPN.NSCertType", "--ns-cert-type", 1 },
        { "OpenVPN.Proto", "--proto", 1 },
        { "OpenVPN.Port", "--port", 1 },
        { "OpenVPN.AuthUserPass", "--auth-user-pass", 1 },
+       { "OpenVPN.AskPass", "--askpass", 1 },
+       { "OpenVPN.AuthNoCache", "--auth-nocache", 0 },
        { "OpenVPN.TLSRemote", "--tls-remote", 1 },
        { "OpenVPN.Cipher", "--cipher", 1 },
        { "OpenVPN.Auth", "--auth", 1 },