diff options
author | imp <imp@FreeBSD.org> | 2010-02-16 21:47:05 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2010-02-16 21:47:05 +0000 |
commit | 79251c9c52223e59e06a6845dbaa06f32c4dfc41 (patch) | |
tree | 86d69378ee7831da25ddeb05bda436932cd7d26b /usr.sbin/rpcbind/util.c | |
parent | 51a4095a03ace696ac65a08efd3c21329e4fd15d (diff) | |
download | FreeBSD-src-79251c9c52223e59e06a6845dbaa06f32c4dfc41.zip FreeBSD-src-79251c9c52223e59e06a6845dbaa06f32c4dfc41.tar.gz |
The NetBSD Foundation has given permission to remove clause 3 and 4
from their liceense.
Obtained from: NetBSD
Diffstat (limited to 'usr.sbin/rpcbind/util.c')
-rw-r--r-- | usr.sbin/rpcbind/util.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/usr.sbin/rpcbind/util.c b/usr.sbin/rpcbind/util.c index 9cdfa70..aca5236 100644 --- a/usr.sbin/rpcbind/util.c +++ b/usr.sbin/rpcbind/util.c @@ -18,13 +18,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the NetBSD - * Foundation, Inc. and its contributors. - * 4. Neither the name of The NetBSD Foundation nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED @@ -185,6 +178,8 @@ addrmerge(struct netbuf *caller, char *serv_uaddr, char *clnt_uaddr, if (ifsa == NULL || ifsa->sa_family != hint_sa->sa_family || !(ifap->ifa_flags & IFF_UP)) continue; + if (!addr_is_bound(ifsa)) + continue; if (!(ifap->ifa_flags & IFF_LOOPBACK) && !listen_addr(ifsa)) continue; |