summaryrefslogtreecommitdiff
path: root/package/nfs-utils/patches/patch-utils_statd_rmtcall_c
blob: 102794697b8e0fb83e5d0d236e69d55b62897f2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- nfs-utils-1.3.4.orig/utils/statd/rmtcall.c	2016-08-03 20:25:15.000000000 +0200
+++ nfs-utils-1.3.4/utils/statd/rmtcall.c	2016-10-08 17:55:10.000000000 +0200
@@ -93,8 +93,10 @@ statd_get_socket(void)
 					__func__);
 			break;
 		}
+#if 0
 		se = getservbyport(sin.sin_port, "udp");
 		if (se == NULL)
+#endif
 			break;
 
 		if (retries == MAX_BRP_RETRIES) {