aboutsummaryrefslogtreecommitdiff
path: root/src/ptunnel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ptunnel.c')
-rw-r--r--src/ptunnel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ptunnel.c b/src/ptunnel.c
index c63c57a..9af8db7 100644
--- a/src/ptunnel.c
+++ b/src/ptunnel.c
@@ -702,7 +702,7 @@ void* pt_proxy(void *args) {
for (cur = chain; cur; cur = cur->next) {
in_addr.s_addr = cur->dst_ip;
if (cur->last_activity + kAutomatic_close_timeout < now) {
- pt_log(kLog_info, "Dropping tunnel to %s:%d due to inactivity.\n", inet_ntoa(in_addr), cur->dst_port, cur->id_no);
+ pt_log(kLog_info, "Dropping tunnel %u to %s:%u due to inactivity.\n", cur->id_no, inet_ntoa(in_addr), cur->dst_port);
cur->should_remove = 1;
continue;
}