13 lines
424 B
Text
13 lines
424 B
Text
$NetBSD: patch-ac,v 1.1 2006/05/09 21:18:50 joerg Exp $
|
|
|
|
--- libxipc/sockutil.cc.orig 2006-05-09 20:01:15.000000000 +0000
|
|
+++ libxipc/sockutil.cc
|
|
@@ -390,7 +390,7 @@ get_preferred_ipv4_addr()
|
|
static uint32_t
|
|
if_count()
|
|
{
|
|
-#ifdef HOST_OS_FREEBSD
|
|
+#if defined(HOST_OS_FREEBSD) || defined(HOST_OS_DRAGONFLY)
|
|
int cnt, error;
|
|
size_t cntlen = sizeof(cnt);
|
|
error = sysctlbyname("net.link.generic.system.ifcount",
|