mirror of
https://repo.or.cz/socat.git
synced 2025-07-30 14:06:50 +00:00
option end-close "did not apply" with some address types
This commit is contained in:
commit
4a42088332
6 changed files with 44 additions and 9 deletions
|
@ -237,8 +237,8 @@ int xioopen_socket_connect(int argc, const char *argv[], struct opt *opts,
|
|||
/*retropt_int(opts, OPT_IP_PROTOCOL, &proto);*/
|
||||
xfd->howtoend = END_SHUTDOWN;
|
||||
|
||||
applyopts(-1, opts, PH_INIT);
|
||||
if (applyopts_single(xfd, opts, PH_INIT) < 0) return -1;
|
||||
applyopts(-1, opts, PH_INIT);
|
||||
applyopts(-1, opts, PH_EARLY);
|
||||
|
||||
themlen = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue