+UNRELEASED
+ * Removed setsockopt IPV6_CHECKSUM, which shouldn't be set and breaks
+ compiling on Solaris (reported by Juergen Arndt)
+
+
2013-05-22 David Schweikert <david@schweikert.ch>
* Version 3.5
* Fix sprint_tm buffer size crash (reported by Japheth Cleaver)
if (setsockopt(s, IPPROTO_IPV6, IPV6_HOPLIMIT, &opton,
sizeof(opton)))
err(1, "setsockopt(IPV6_HOPLIMIT)");
-#endif
-#ifdef IPV6_CHECKSUM
-#ifndef SOL_RAW
-#define SOL_RAW IPPROTO_IPV6
-#endif
- opton = 2;
- if (setsockopt(s, SOL_RAW, IPV6_CHECKSUM, &opton,
- sizeof(opton)))
- err(1, "setsockopt(SOL_RAW,IPV6_CHECKSUM)");
-#endif
#endif
if( ( uid = getuid() ) )