summaryrefslogtreecommitdiffstats
path: root/src/gb
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-11-06 17:04:21 +0100
committerHarald Welte <laforge@gnumonks.org>2019-05-10 13:36:18 +0200
commit38176d297d63af994dcd2d96bdc0b93895db98dd (patch)
tree10ac3fb957fdd5ca28d8eb4edb69eefd812381fb /src/gb
parentea9ea52bbbcb63a6cbba91a3914a706242af06b0 (diff)
NS: log address:port on error
Change-Id: If2dc533a6dc150254f5d44b672f04bb728e7e927
Diffstat (limited to 'src/gb')
-rw-r--r--src/gb/gprs_ns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gb/gprs_ns.c b/src/gb/gprs_ns.c
index 3679a5ba..cee48855 100644
--- a/src/gb/gprs_ns.c
+++ b/src/gb/gprs_ns.c
@@ -1963,8 +1963,8 @@ static struct msgb *read_nsip_msg(struct osmo_fd *bfd, int *error,
ret = recvfrom(bfd->fd, msg->data, NS_ALLOC_SIZE - NS_ALLOC_HEADROOM, 0,
(struct sockaddr *)saddr, &saddr_len);
if (ret < 0) {
- LOGP(DNS, LOGL_ERROR, "recv error %s during NSIP recv\n",
- strerror(errno));
+ LOGP(DNS, LOGL_ERROR, "recv error %s during NSIP recvfrom %s\n",
+ strerror(errno), osmo_sock_get_name2(bfd->fd));
msgb_free(msg);
*error = ret;
return NULL;