summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2003-01-27 22:38:25 +0000
committerMartin Blapp <mbr@FreeBSD.org>2003-01-27 22:38:25 +0000
commitd063ef14619b4a6bb23a933bb8ce3824c0e9b941 (patch)
tree18663d1ee74f2f4d1d62c01be79472ef84c27737 /lib/libc
parent555f4cffb0d5115648a6f6fb4403d83d04a29573 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/rpc/clnt_bcast.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/rpc/clnt_bcast.c b/lib/libc/rpc/clnt_bcast.c
index afafb3028fd3..03fdf61da2f1 100644
--- a/lib/libc/rpc/clnt_bcast.c
+++ b/lib/libc/rpc/clnt_bcast.c
@@ -474,7 +474,8 @@ rpc_broadcast_exp(prog, vers, proc, xargs, argsp, xresults, resultsp,
* Send the version 2 packet also
* for UDP/IP
*/
- if (fdlist[i].proto == IPPROTO_UDP) {
+ if (pmap_flag &&
+ fdlist[i].proto == IPPROTO_UDP) {
if (_sendto(fdlist[i].fd, outbuf_pmap,
outlen_pmap, 0, addr,
(size_t)fdlist[i].asize) !=