mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
19 lines
457 B
Diff
19 lines
457 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
|
|
@@ -90,8 +90,10 @@ statd_get_socket(void)
|
|
__func__);
|
|
break;
|
|
}
|
|
+#if 0
|
|
se = getservbyport(sin.sin_port, "udp");
|
|
if (se == NULL)
|
|
+#endif
|
|
break;
|
|
/* rather not use that port, try again */
|
|
|