0
0
mirror of https://github.com/hufrea/byedpi.git synced 2025-06-30 10:33:50 +00:00

Fix parsing --tfo option (#281)

Using --tfo option was required additional space character at the end of option long name string ("--tfo ")
This commit is contained in:
Egor Kin 2025-04-01 00:01:09 +03:00 committed by GitHub
parent 978925b14e
commit 31abd95aed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
main.c
View File

@ -145,7 +145,7 @@ const struct option options[] = {
{"debug", 1, 0, 'x'},
#ifdef TCP_FASTOPEN_CONNECT
{"tfo ", 0, 0, 'F'},
{"tfo", 0, 0, 'F'},
#endif
{"auto", 1, 0, 'A'},
{"auto-mode", 1, 0, 'L'},