Commit 4f082b58 authored by Mark Andrews's avatar Mark Andrews
Browse files

1816. [port] UnixWare: failed to compile lib/isc/unix/net.c.

                        [RT #13597]
parent cb2d565b
......@@ -35,7 +35,8 @@
1817. [placeholder] rt13587
1816. [placeholder] rt13597
1816. [port] UnixWare: failed to compile lib/isc/unix/net.c.
[RT #13597]
1815. [bug] nsupdate triggered a REQUIRE if the server was set
without also setting the zone and it encountered
......
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: net.c,v 1.32 2005/02/24 00:33:34 marka Exp $ */
/* $Id: net.c,v 1.33 2005/03/16 01:23:08 marka Exp $ */
#include <config.h>
......@@ -247,6 +247,7 @@ initialize_ipv6only(void) {
}
#endif /* IPV6_V6ONLY */
#ifdef ISC_PLATFORM_HAVEIN6PKTINFO
static void
try_ipv6pktinfo(void) {
int s, on;
......@@ -299,6 +300,7 @@ initialize_ipv6pktinfo(void) {
RUNTIME_CHECK(isc_once_do(&once_ipv6pktinfo,
try_ipv6pktinfo) == ISC_R_SUCCESS);
}
#endif /* ISC_PLATFORM_HAVEIN6PKTINFO */
#endif /* WANT_IPV6 */
isc_result_t
......@@ -316,11 +318,13 @@ isc_net_probe_ipv6only(void) {
isc_result_t
isc_net_probe_ipv6pktinfo(void) {
#ifdef ISC_PLATFORM_HAVEIPV6
#ifdef ISC_PLATFORM_HAVEIN6PKTINFO
#ifdef WANT_IPV6
initialize_ipv6pktinfo();
#else
ipv6pktinfo_result = ISC_R_NOTFOUND;
#endif
#endif
#endif
return (ipv6pktinfo_result);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment