cleanups in kernel interface code
added proper traffic selector to string conversion some cleanups here & there
This commit is contained in:
@@ -112,8 +112,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_address(src), src->get_port(src),
|
||||
dst->get_address(dst), dst->get_port(dst));
|
||||
src->get_string(src), src->get_port(src),
|
||||
dst->get_string(dst), dst->get_port(dst));
|
||||
|
||||
pthread_mutex_lock(&this->mutex);
|
||||
this->list->insert_last(this->list, packet);
|
||||
|
||||
Reference in New Issue
Block a user