diff options
Diffstat (limited to 'main/nfs-utils/musl-getservbyport.patch')
-rw-r--r-- | main/nfs-utils/musl-getservbyport.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/main/nfs-utils/musl-getservbyport.patch b/main/nfs-utils/musl-getservbyport.patch new file mode 100644 index 000000000..c9d02e4f9 --- /dev/null +++ b/main/nfs-utils/musl-getservbyport.patch @@ -0,0 +1,18 @@ +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 */ + |