cli: add 'strongswan' and 'fortisslvpn' to known VPN types

This commit is contained in:
Jiří Klimeš 2015-11-25 17:11:51 +01:00
parent 579fd36566
commit 4a06701e88
2 changed files with 15 additions and 4 deletions

View file

@ -50,9 +50,20 @@
#define PROMPT_CONNECTIONS _("Connection(s) (name, UUID, or path): ")
#define PROMPT_ACTIVE_CONNECTIONS _("Connection(s) (name, UUID, path or apath): ")
static const char *nmc_known_vpns[] =
{ "openvpn", "vpnc", "pptp", "openconnect", "openswan", "libreswan",
"ssh", "l2tp", "iodine", NULL };
static const char *nmc_known_vpns[] = {
"openvpn",
"vpnc",
"pptp",
"openconnect",
"openswan",
"libreswan",
"strongswan",
"ssh",
"l2tp",
"iodine",
"fortisslvpn",
NULL
};
static const char *nmc_tun_modes[] =
{ "tun", "tap", NULL };

View file

@ -622,7 +622,7 @@ The value can be prefixed with \fBifname/\fP, \fBuuid/\fP or \fBid/\fP to disamb
.RS
.TP
.B vpn:
.IP "\fIvpn-type vpnc|openvpn|pptp|openconnect|openswan|libreswan|ssh|l2tp|iodine|...\fP" 42
.IP "\fIvpn-type vpnc|openvpn|pptp|openconnect|openswan|libreswan|strongswan|ssh|l2tp|iodine|fortisslvpn|...\fP" 42
\(en VPN type
.IP "\fI[user <username>]\fP" 42
\(en VPN username