Skip to content
Permalink
Browse files
update the manual and --help to explain --passtos a little more
Signed-off-by: Daniel Lenski <dlenski@gmail.com>
  • Loading branch information
dlenski committed Apr 1, 2020
1 parent 21da883 commit c391ff7a762c107c74bab1c5711f948bbcadc724
Showing with 4 additions and 2 deletions.
  1. +1 −1 main.c
  2. +3 −1 openconnect.8.in
2 main.c
@@ -844,7 +844,7 @@ static void usage(void)
#endif
printf(" --reconnect-timeout %s\n", _("Connection retry timeout in seconds"));
printf(" --resolve=HOST:IP %s\n", _("Use IP when connecting to HOST"));
printf(" --passtos %s\n", _("copy TOS / TCLASS when using DTLS"));
printf(" --passtos %s\n", _("Copy TOS / TCLASS field into DTLS and ESP packets"));
printf(" --dtls-local-port=PORT %s\n", _("Set local port for DTLS and ESP datagrams"));

printf("\n%s:\n", _("Authentication (two-phase)"));
@@ -222,7 +222,9 @@ Use syslog for progress messages
Prepend a timestamp to each progress message
.TP
.B \-\-passtos
Copy TOS / TCLASS of payload packet into DTLS packets.
Copy TOS / TCLASS of payload packet into DTLS and ESP packets. This is
not set by default because it may leak information about the payload
(for example, by differentiating voice/video traffic).
.TP
.B \-U,\-\-setuid=USER
Drop privileges after connecting, to become user

0 comments on commit c391ff7

Please sign in to comment.