This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/19911 ) Change subject: socket: fix wrong ipv6 dst buf size passed in osmo_sock_local_ip ...................................................................... socket: fix wrong ipv6 dst buf size passed in osmo_sock_local_ip Change-Id: I13939fda9b3d642f9fa1413e59458aba0628a4a6 --- M src/socket.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/11/19911/1 diff --git a/src/socket.c b/src/socket.c index df37ab8..f91ad10 100644 --- a/src/socket.c +++ b/src/socket.c @@ -1453,7 +1453,7 @@ break; case AF_INET6: sin6 = (struct sockaddr_in6*)&local_addr; - if (!inet_ntop(AF_INET6, &sin6->sin6_addr, local_ip, INET_ADDRSTRLEN)) + if (!inet_ntop(AF_INET6, &sin6->sin6_addr, local_ip, INET6_ADDRSTRLEN)) return -EINVAL; break; default: -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/19911 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I13939fda9b3d642f9fa1413e59458aba0628a4a6 Gerrit-Change-Number: 19911 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200831/1a05b9e8/attachment.htm>