[PATCH 1/3] enumerate supported VPN protocols via openconnect_get_supported_protocols()

David Woodhouse dwmw2 at infradead.org
Wed Apr 19 03:08:16 PDT 2017


On Sun, 2017-04-09 at 02:03 -0700, Daniel Lenski wrote:
> 
> --- a/library.c
> +++ b/library.c
> @@ -109,6 +109,9 @@ err:
>  const struct vpn_proto openconnect_protos[] = {
>         {
>                 .name = "anyconnect",
> +               .pretty_name = "Cisco AnyConnect or openconnect",
> +               .description = "Compatible with Cisco AnyConnect SSL VPN, as well as ocserv",
> +               .flags = OC_PROTO_PROXY | OC_PROTO_CSD | OC_PROTO_AUTH_CERT | OC_PROTO_AUTH_OTP | OC_PROTO_AUTH_STOKEN,
>                 .vpn_close_session = cstp_bye,
>                 .tcp_connect = cstp_connect,
>                 .tcp_mainloop = cstp_mainloop,

Those strings aren't going to get translated (by humans, in the .po
files) unless you put them in N_("…");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4938 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20170419/1adfb7e4/attachment-0001.bin>


More information about the openconnect-devel mailing list