mirror of
https://repo.or.cz/socat.git
synced 2025-07-20 01:42:58 +00:00
Mitigated regressions of 1.8.0.0 with TCP-LISTEN e.a. by making -4 the default
This commit is contained in:
parent
bd727963a0
commit
868998eb60
8 changed files with 372 additions and 92 deletions
|
@ -66,7 +66,6 @@ static int xioopen_rawip_sendto(
|
|||
return STAT_NORETRY;
|
||||
}
|
||||
|
||||
xioinit_ip(&pf, xioparms.preferred_ip);
|
||||
if ((result = _xioopen_rawip_sendto(argv[1], argv[2], opts, xioflags, xxfd,
|
||||
addrdesc->groups, &pf)) != STAT_OK) {
|
||||
return result;
|
||||
|
@ -159,7 +158,6 @@ static int xioopen_rawip_datagram(
|
|||
return STAT_NORETRY;
|
||||
}
|
||||
|
||||
xioinit_ip(&pf, xioparms.preferred_ip);
|
||||
if ((result =
|
||||
_xioopen_rawip_sendto(argv[1], argv[2], opts, xioflags, xxfd,
|
||||
addrdesc->groups, &pf)) != STAT_OK) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue