diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2019-07-06 01:31:29 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2019-07-06 01:31:29 +0200 |
commit | c64928e8e0211edf2ccfa628dfa41e5bd62ef8ae (patch) | |
tree | eb7819ecb3fc79d65b13435dd12be3c226bab298 /src/ptunnel.c | |
parent | d0c9e04d128e1696dcff089978cf823e0316389e (diff) |
fixed format specifier issues
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/ptunnel.c')
-rw-r--r-- | src/ptunnel.c | 2 |
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; } |