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:
parent
6340127060
commit
e52675faed
3 changed files with 10 additions and 0 deletions
4
xio-ip.c
4
xio-ip.c
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue