summaryrefslogtreecommitdiff
path: root/sys/nfs/krpc_subr.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-04-25 09:22:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-04-25 09:22:35 +0000
commiteb4c9a72ecc08f4745d694ae0462ae14102ca946 (patch)
treea4aede5be1470899fcc3447684ca9d5446d8c531 /sys/nfs/krpc_subr.c
parent670b144ca3988b74791126fca2d98389f20db256 (diff)
XXX should do reserved ports
Diffstat (limited to 'sys/nfs/krpc_subr.c')
-rw-r--r--sys/nfs/krpc_subr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/nfs/krpc_subr.c b/sys/nfs/krpc_subr.c
index d449cdc0fa4..4336e8a6d05 100644
--- a/sys/nfs/krpc_subr.c
+++ b/sys/nfs/krpc_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: krpc_subr.c,v 1.5 1996/06/10 07:30:04 deraadt Exp $ */
+/* $OpenBSD: krpc_subr.c,v 1.6 1997/04/25 09:22:34 deraadt Exp $ */
/* $NetBSD: krpc_subr.c,v 1.12.4.1 1996/06/07 00:52:26 cgd Exp $ */
/*
@@ -261,6 +261,7 @@ krpc_call(sa, prog, vers, func, data, from_p)
sin->sin_len = m->m_len = sizeof(*sin);
sin->sin_family = AF_INET;
sin->sin_addr.s_addr = INADDR_ANY;
+ /* XXX should do random allocation */
tport = IPPORT_RESERVED;
do {
tport--;