mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 15:32:35 +00:00
Cygwin port: IP_RECVOPTS conditional
This commit is contained in:
parent
43bb8e9ed6
commit
91af19a6b7
1 changed files with 2 additions and 0 deletions
2
xio-ip.c
2
xio-ip.c
|
@ -527,7 +527,9 @@ int xiolog_ancillary_ip(struct cmsghdr *cmsg, int *num,
|
|||
#endif
|
||||
#endif /* WITH_IP4 */
|
||||
case IP_OPTIONS:
|
||||
#ifdef IP_RECVOPTS
|
||||
case IP_RECVOPTS:
|
||||
#endif
|
||||
cmsgtype = "IP_OPTIONS"; cmsgname = "options"; cmsgfmt = NULL; break;
|
||||
case IP_TOS:
|
||||
cmsgtype = "IP_TOS"; cmsgname = "tos"; cmsgfmt = "%u"; break;
|
||||
|
|
Loading…
Reference in a new issue