aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/ipaccess
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-06-09 15:17:53 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-09 21:40:45 +0800
commit7670651f4941bab9cc72b3c908e47a7f6f2d9524 (patch)
tree36a1b54b9166c01f25761250f7cf6db4150fe6d8 /openbsc/src/ipaccess
parent6cb9b230ede68c24620123ecf36f101fae6157a7 (diff)
ipa: Print the IP addr in the listen as well..
Diffstat (limited to 'openbsc/src/ipaccess')
-rw-r--r--openbsc/src/ipaccess/ipaccess-proxy.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/openbsc/src/ipaccess/ipaccess-proxy.c b/openbsc/src/ipaccess/ipaccess-proxy.c
index de2cf629d..ea78e875d 100644
--- a/openbsc/src/ipaccess/ipaccess-proxy.c
+++ b/openbsc/src/ipaccess/ipaccess-proxy.c
@@ -1005,8 +1005,9 @@ static int make_listen_sock(struct bsc_fd *bfd, u_int16_t port, int priv_nr,
ret = bind(bfd->fd, (struct sockaddr *) &addr, sizeof(addr));
if (ret < 0) {
- LOGP(DINP, LOGL_ERROR, "could not bind listen socket %s\n",
- strerror(errno));
+ LOGP(DINP, LOGL_ERROR,
+ "Could not bind listen socket for IP %s with error: %s.\n",
+ listen_ipaddr, strerror(errno));
return -EIO;
}