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


git-svn-id: svn://10.0.0.236/branches/NSPRPUB_PRE_4_2_CLIENT_BRANCH@138239 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
wtc%netscape.com
2003-02-22 22:50:13 +00:00
parent a831031ce8
commit 634c38511a

View File

@@ -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.