aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-04 02:49:52 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-30 14:10:39 +0200
commite25faa89662f069bd67e6cc37626fff59e05f1d6 (patch)
treef5be7e82818b777f0c34bd0c5eb7a0c8b169aab4
parent3588810cb779274b5536263120be7796d41f69db (diff)
hnb-test: print sent bytes
-rw-r--r--src/tests/hnb-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/hnb-test.c b/src/tests/hnb-test.c
index a3c958d..63fa636 100644
--- a/src/tests/hnb-test.c
+++ b/src/tests/hnb-test.c
@@ -597,6 +597,7 @@ static int hnb_write_cb(struct osmo_fd *fd, struct msgb *msg)
};
int rc;
+ printf("Sending: %s\n", osmo_hexdump(msgb_data(msg), msgb_length(msg)));
rc = sctp_send(fd->fd, msgb_data(msg), msgb_length(msg),
&sinfo, 0);
/* we don't need to msgb_free(), write_queue does this for us */