diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-07-08 23:12:56 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-07-09 13:51:04 +0200 |
commit | 9d43cee88ced1eaa1b147a92d60bf9cb8f71ceac (patch) | |
tree | 6d6798e1e73c8c82890d1ec29b4b0fe806a63d1b | |
parent | 7239f574aafb47dbb30747993ea608fee00a5aaa (diff) |
osmux: Mention where the data was coming from
-rw-r--r-- | openbsc/src/libmgcp/osmux.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openbsc/src/libmgcp/osmux.c b/openbsc/src/libmgcp/osmux.c index 6d6870f4c..75abde8ea 100644 --- a/openbsc/src/libmgcp/osmux.c +++ b/openbsc/src/libmgcp/osmux.c @@ -284,8 +284,10 @@ int osmux_read_from_bsc_cb(struct osmo_fd *ofd, unsigned int what) goto out; osmux_snprintf(buf, sizeof(buf), msg); - LOGP(DMGCP, LOGL_DEBUG, "received OSMUX message " - "from BSC (len=%d) %s\n", msg->len, buf); + LOGP(DMGCP, LOGL_DEBUG, + "received OSMUX message from BSC(%s:%d) (len=%d) %s\n", + inet_ntoa(addr.sin_addr), ntohs(addr.sin_port), + msg->len, buf); while((osmuxh = osmux_xfrm_output_pull(msg)) != NULL) { struct mgcp_endpoint *endp; |