summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2003-02-22 22:50:13 +0000
committerwtc%netscape.com <devnull@localhost>2003-02-22 22:50:13 +0000
commit17b57100c82cf81ce0b63ee1f75956fd310dba92 (patch)
treefeff8f5419320e911feafb262df2f62fe3540889
parent2c067d6eb0075e8e61d6bc9c638113f04b143bcb (diff)
downloadnspr-hg-17b57100c82cf81ce0b63ee1f75956fd310dba92.tar.gz
Bug 186745: on FreeBSD, use the getifaddrs function to query the presence
of IPv4 and IPv6 network interfaces. Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-rw-r--r--pr/src/misc/prnetdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/src/misc/prnetdb.c b/pr/src/misc/prnetdb.c
index 50b98c61..c50f8d2e 100644
--- a/pr/src/misc/prnetdb.c
+++ b/pr/src/misc/prnetdb.c
@@ -320,7 +320,7 @@ _pr_QueryNetIfs(void)
PR_Free(buf);
}
-#elif (defined(DARWIN) && defined(HAVE_GETIFADDRS))
+#elif (defined(DARWIN) && defined(HAVE_GETIFADDRS)) || defined(FREEBSD)
/*
* Use the BSD getifaddrs function.