projects/aports·blob master · refs

18 lines · 426 B

1Musl will always return something with getservbyport so we cannot skip
2ports that returns non-null.
3
4diff --git a/utils/statd/rmtcall.c b/utils/statd/rmtcall.c
5index fd576d9..d72a0bf 100644
6--- a/utils/statd/rmtcall.c
7+++ b/utils/statd/rmtcall.c
8@@ -93,8 +93,10 @@
9 __func__);
10 break;
11 }
12+#if 0
13 se = getservbyport(sin.sin_port, "udp");
14 if (se == NULL)
15+#endif
16 break;
17
18 if (retries == MAX_BRP_RETRIES) {