Skip to content

Commit

Permalink
update the manual and --help to explain --passtos a little more
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Lenski <dlenski@gmail.com>
  • Loading branch information
dlenski committed Apr 1, 2020
1 parent 21da883 commit c391ff7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.c
Expand Up @@ -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)"));
Expand Down
4 changes: 3 additions & 1 deletion openconnect.8.in
Expand Up @@ -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
Expand Down

0 comments on commit c391ff7

Please sign in to comment.