+- IPv6 fixes for IP_OPTIONS (disables under IPv6, i mean .. IRC multicast.

+  WTF?)
This commit is contained in:
stskeeps 2001-11-05 15:06:13 +00:00
parent cca85ebe57
commit 44a48a2dc0
2 changed files with 3 additions and 1 deletions

View file

@ -897,3 +897,5 @@ seen. gmtime warning still there
- Fixed a bug where the win32 help dialog links were plain text
- IPv6 fixes to Inet_si2p & Inet_si2pB
- IPv6 fixes to make dual ipv4/ipv6 work
- IPv6 fixes for IP_OPTIONS (disables under IPv6, i mean .. IRC multicast.
WTF?)

View file

@ -1032,7 +1032,7 @@ void set_sock_opts(fd, cptr)
sizeof(opt)) < 0)
report_error("setsockopt(SO_SNDBUF) %s:%s", cptr);
#endif
#if defined(IP_OPTIONS) && defined(IPPROTO_IP) && !defined(_WIN32)
#if defined(IP_OPTIONS) && defined(IPPROTO_IP) && !defined(_WIN32) && !defined(INET6)
{
char *s = readbuf, *t = readbuf + sizeof(readbuf) / 2;