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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user