mirror of
https://repo.or.cz/socat.git
synced 2025-07-08 21:36:34 +00:00
Corrected UNIX client NAMED options to work on bind address
This commit is contained in:
parent
5570bf4d62
commit
d9d320cb47
13 changed files with 232 additions and 45 deletions
|
@ -278,7 +278,7 @@ static int
|
|||
/* this cannot fork because we retrieved fork option above */
|
||||
result =
|
||||
_xioopen_connect(xfd,
|
||||
needbind?(struct sockaddr *)us:NULL, uslen,
|
||||
needbind?us:NULL, uslen,
|
||||
(struct sockaddr *)them, themlen,
|
||||
opts, pf, socktype, ipproto, lowport, level);
|
||||
switch (result) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue