nss/nspr-4.34-server-passive.patch
Robert Relyea 5fabc5f7a8 Resolves: RHEL-46839
Rebase nss to 3.101 for Firefox 128
2024-07-11 08:39:43 -07:00

13 lines
386 B
Diff

diff -r c75b4e36b7e8 pr/src/misc/prnetdb.c
--- a/pr/src/misc/prnetdb.c Wed May 25 23:39:48 2022 +0200
+++ b/pr/src/misc/prnetdb.c Tue Jun 14 18:48:03 2022 -0400
@@ -2204,6 +2204,7 @@
memset(&hints, 0, sizeof(hints));
+ hints.ai_flags = AI_PASSIVE;
rv = GETADDRINFO(NULL, tmpBuf, &hints, &res);
if (rv == 0) {
PRBool result_still_empty = PR_TRUE;