Skip to content
Permalink
Browse files
Document new --os option
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
  • Loading branch information
cernekee committed Oct 28, 2012
1 parent d7f91bb commit ea11825d9dd3e2ffa98027fadb91be5040193fd0
Showing with 7 additions and 0 deletions.
  1. +1 −0 main.c
  2. +6 −0 openconnect.8.in
1 main.c
@@ -288,6 +288,7 @@ static void usage(void)
printf(" --reconnect-timeout %s\n", _("Connection retry timeout in seconds"));
printf(" --servercert=FINGERPRINT %s\n", _("Server's certificate SHA1 fingerprint"));
printf(" --useragent=STRING %s\n", _("HTTP header User-Agent: field"));
printf(" --os=STRING %s\n", _("OS type (linux,linux-64,mac,win) to report"));
printf(" --dtls-local-port=PORT %s\n", _("Set local port for DTLS datagrams"));
printf("\n");

@@ -53,6 +53,7 @@ openconnect \- Connect to Cisco AnyConnect VPN
.OP \-\-reconnect\-timeout
.OP \-\-servercert sha1
.OP \-\-useragent string
.OP \-\-os string
.B [https://]\fIserver\fB[:\fIport\fB][/\fIgroup\fB]
.YS

@@ -344,6 +345,11 @@ Use
as 'User\-Agent:' field value in HTTP header.
(e.g. \-\-useragent 'Cisco AnyConnect VPN Agent for Windows 2.2.0133')
.TP
.B \-\-os=STRING
OS type to report to gateway. Recognized values are: linux, linux-64, mac,
win. Reporting a different OS type may affect the security policy applied
to the VPN session.
.TP
.B \-\-dtls\-local\-port=PORT
Use
.I PORT

0 comments on commit ea11825

Please sign in to comment.