mirror of
https://github.com/moparisthebest/socat
synced 2024-08-13 16:43:48 -04:00
Cygwin port: IP_RECVOPTS conditional
This commit is contained in:
parent
43bb8e9ed6
commit
91af19a6b7
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 New Issue
Block a user