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/.
Max gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/3573 Print destination address on sendto error Change-Id: I0f8ad8687acb7f6f0eeeb962f007e87cca0c4c27 --- M gtp/gtp.c 1 file changed, 2 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/openggsn refs/changes/73/3573/1 diff --git a/gtp/gtp.c b/gtp/gtp.c index 012aa79..69405b8 100644 --- a/gtp/gtp.c +++ b/gtp/gtp.c @@ -394,9 +394,8 @@ if (sendto(fd, packet, len, 0, (struct sockaddr *)&addr, sizeof(addr)) < 0) { gsn->err_sendto++; - LOGP(DLGTP, LOGL_ERROR, - "Sendto(fd=%d, msg=%lx, len=%d) failed: Error = %s\n", fd, - (unsigned long)&packet, len, strerror(errno)); + LOGP(DLGTP, LOGL_ERROR, "Sendto(fd=%d, msg=%lx, len=%d, dst=%s) failed: Error = %s\n", fd, + (unsigned long)&packet, len, inet_ntoa(addr.sin_addr), strerror(errno)); return -1; } -- To view, visit https://gerrit.osmocom.org/3573 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0f8ad8687acb7f6f0eeeb962f007e87cca0c4c27 Gerrit-PatchSet: 1 Gerrit-Project: openggsn Gerrit-Branch: master Gerrit-Owner: Max <msuraev at sysmocom.de>