diff options
author | Martin Willi <martin@strongswan.org> | 2006-09-27 14:14:44 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-09-27 14:14:44 +0000 |
commit | 47f5027807c10d52d6122b9bba590e8ec6e02a95 (patch) | |
tree | a266c227832e46b6f60ee0c790e08b977e52ba61 /src/charon/queues/send_queue.c | |
parent | f91513e33374114b8a5c5418ab56a3545b9718ce (diff) | |
download | strongswan-47f5027807c10d52d6122b9bba590e8ec6e02a95.tar.bz2 strongswan-47f5027807c10d52d6122b9bba590e8ec6e02a95.tar.xz |
introduced printf() specifiers for:
host_t (%H)
identification_t (%D)
chunk pointers (%B)
memory pointer/length (%b)
added a signaling bus:
receives event and debug messages, sends them to its listeners
stream_logger, sys_logger, file_logger added, listen to bus
some other tweaks here and there
Diffstat (limited to 'src/charon/queues/send_queue.c')
-rw-r--r-- | src/charon/queues/send_queue.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/charon/queues/send_queue.c b/src/charon/queues/send_queue.c index 985cf77b7..6091a172d 100644 --- a/src/charon/queues/send_queue.c +++ b/src/charon/queues/send_queue.c @@ -111,9 +111,8 @@ static void add(private_send_queue_t *this, packet_t *packet) src = packet->get_source(packet); dst = packet->get_destination(packet); - this->logger->log(this->logger, CONTROL, "sending packet: from %s[%d] to %s[%d]", - src->get_string(src), src->get_port(src), - dst->get_string(dst), dst->get_port(dst)); + this->logger->log(this->logger, CONTROL, + "sending packet: from %#H to %#H", src, dst); pthread_mutex_lock(&this->mutex); this->list->insert_last(this->list, packet); |