1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-08 13:36:32 +00:00

Implementation of DCCP socket addresses

This commit is contained in:
Gerhard Rieger 2023-10-24 20:33:01 +02:00
parent fc21e154b9
commit a846b94e6c
17 changed files with 330 additions and 28 deletions

View file

@ -640,7 +640,7 @@ static int xioopen_openssl_listen(
/* this can fork() for us; it only returns on error or on
successful establishment of connection */
if (ipproto == IPPROTO_TCP) {
if (ipproto == IPPROTO_TCP || ipproto == IPPROTO_DCCP) {
result = _xioopen_listen(sfd, xioflags,
(struct sockaddr *)us, uslen,
opts, pf, socktype, ipproto,