mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-22 09:27:32 -08:00
Closes: https://bugs.gentoo.org/894448 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32130 Signed-off-by: Michał Górny <mgorny@gentoo.org>
22 lines
517 B
Diff
22 lines
517 B
Diff
Bug: https://bugs.gentoo.org/894448
|
|
--- a/netifaces.c
|
|
+++ b/netifaces.c
|
|
@@ -370,7 +370,7 @@ string_from_sockaddr (struct sockaddr *addr,
|
|
|
|
failure = getnameinfo (gniaddr, gnilen,
|
|
buffer, buflen,
|
|
- NULL, 0,
|
|
+ 0, 0,
|
|
NI_NUMERICHOST);
|
|
|
|
if (bigaddr) {
|
|
@@ -1805,7 +1805,7 @@ gateways (PyObject *self)
|
|
sizeof(sanl_from),
|
|
&iov,
|
|
1,
|
|
- NULL,
|
|
+ 0,
|
|
0,
|
|
0
|
|
};
|