patch-2.1.91 linux/net/sunrpc/svcsock.c
Next file: linux/net/unix/af_unix.c
Previous file: linux/net/sunrpc/auth_unix.c
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
Mon Mar 23 16:48:25 1998
-  Orig file: 
v2.1.90/linux/net/sunrpc/svcsock.c
-  Orig date: 
Sat Jan 17 12:32:42 1998
diff -u --recursive --new-file v2.1.90/linux/net/sunrpc/svcsock.c linux/net/sunrpc/svcsock.c
@@ -866,8 +866,7 @@
 
 	/* Register socket with portmapper */
 	if (*errp >= 0 && pmap_register)
-		*errp = svc_register(serv, inet->protocol,
-					ntohs(inet->dummy_th.source));
+		*errp = svc_register(serv, inet->protocol, ntohs(inet->sport));
 
 	if (*errp < 0) {
 		inet->user_data = NULL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov