12345678910111213141516 |
- 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) {
|