diff options
author | wtc%netscape.com <devnull@localhost> | 2003-02-25 15:08:45 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2003-02-25 15:08:45 +0000 |
commit | 6c564bfe2ef59dac480159e12966c1e9fd62d184 (patch) | |
tree | 948c262dfc3b5799a5ae0cc51f431df4927dd96f | |
parent | 2fc9415c4ba4ff659b52e8c6108d0dbe1a5fb1bb (diff) | |
download | nspr-hg-6c564bfe2ef59dac480159e12966c1e9fd62d184.tar.gz |
Bug 186745: Use the BSD getifaddrs() function to query the presence of
IPv4 and IPv6 network interfaces on NetBSD.
Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-rw-r--r-- | pr/src/misc/prnetdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pr/src/misc/prnetdb.c b/pr/src/misc/prnetdb.c index c50f8d2e..c9206af7 100644 --- a/pr/src/misc/prnetdb.c +++ b/pr/src/misc/prnetdb.c @@ -320,7 +320,8 @@ _pr_QueryNetIfs(void) PR_Free(buf); } -#elif (defined(DARWIN) && defined(HAVE_GETIFADDRS)) || defined(FREEBSD) +#elif (defined(DARWIN) && defined(HAVE_GETIFADDRS)) || defined(FREEBSD) \ + || defined(NETBSD) /* * Use the BSD getifaddrs function. |