1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-16 04:35:13 +03:00
aports/main/nfs-utils/musl-getservbyport.patch
2018-02-06 22:53:29 +00:00

18 lines
426 B
Diff

Musl will always return something with getservbyport so we cannot skip
ports that returns non-null.
diff --git a/utils/statd/rmtcall.c b/utils/statd/rmtcall.c
index fd576d9..d72a0bf 100644
--- a/utils/statd/rmtcall.c
+++ b/utils/statd/rmtcall.c
@@ -93,8 +93,10 @@
__func__);
break;
}
+#if 0
se = getservbyport(sin.sin_port, "udp");
if (se == NULL)
+#endif
break;
if (retries == MAX_BRP_RETRIES) {