blob: 8e926e1eb1065031ca8c688614e9dcd55115a8e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Musl will always return something with getservbyport so we cannot skip
ports that returns non-null.
--- a/utils/statd/rmtcall.c
+++ b/utils/statd/rmtcall.c
@@ -93,8 +93,10 @@ statd_get_socket(void)
__func__);
break;
}
+#if defined(__GLIBC__) || defined(__UCLIBC__)
se = getservbyport(sin.sin_port, "udp");
if (se == NULL)
+#endif
break;
if (retries == MAX_BRP_RETRIES) {
|