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

Fixed ancillary messages on Solaris

This commit is contained in:
Gerhard Rieger 2022-09-26 21:56:21 +02:00
parent 6340127060
commit e52675faed
3 changed files with 10 additions and 0 deletions

View file

@ -618,7 +618,11 @@ int xiolog_ancillary_ip(struct cmsghdr *cmsg, int *num,
cmsgtype = "IP_OPTIONS"; cmsgname = "options"; cmsgctr = -1;
/*!!!*/
break;
#if XIO_ANCILLARY_TYPE_SOLARIS
case IP_RECVTOS:
#else
case IP_TOS:
#endif
cmsgtype = "IP_TOS"; cmsgname = "tos"; cmsgctr = msglen;
break;
case IP_TTL: /* Linux */