mirror of
https://repo.or.cz/socat.git
synced 2025-07-10 22:13:00 +00:00
Fixed the end-close option, it just did not work
This commit is contained in:
parent
e610b14470
commit
d605ab57f5
18 changed files with 66 additions and 30 deletions
|
@ -74,7 +74,8 @@ int _xioopen_interface(const char *ifname,
|
|||
ifidx = 0; /* desparate attempt to continue */
|
||||
}
|
||||
|
||||
sfd->howtoend = END_INTERFACE;
|
||||
if (sfd->howtoend == END_UNSPEC)
|
||||
sfd->howtoend = END_INTERFACE;
|
||||
retropt_int(opts, OPT_SO_TYPE, &socktype);
|
||||
|
||||
retropt_socket_pf(opts, &pf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue