2016-05-31 10:50:24 +00:00
|
|
|
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
|
2017-11-06 11:20:25 +00:00
|
|
|
@@ -93,8 +93,10 @@ statd_get_socket(void)
|
2016-05-31 10:50:24 +00:00
|
|
|
__func__);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
+#if defined(__GLIBC__) || defined(__UCLIBC__)
|
|
|
|
se = getservbyport(sin.sin_port, "udp");
|
|
|
|
if (se == NULL)
|
|
|
|
+#endif
|
|
|
|
break;
|
|
|
|
|
2017-11-06 11:20:25 +00:00
|
|
|
if (retries == MAX_BRP_RETRIES) {
|