diff options
Diffstat (limited to 'sig.c')
-rw-r--r-- | sig.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -242,6 +242,12 @@ print_status (const struct context *c, struct status_output *so) if (c->options.comp_lzo) lzo_print_stats (&c->c2.lzo_compwork, so); #endif +#ifdef PACKET_TRUNCATION_CHECK + status_printf (so, "TUN read truncations," counter_format, c->c2.n_trunc_tun_read); + status_printf (so, "TUN write truncations," counter_format, c->c2.n_trunc_tun_write); + status_printf (so, "Pre-encrypt truncations," counter_format, c->c2.n_trunc_pre_encrypt); + status_printf (so, "Post-decrypt truncations," counter_format, c->c2.n_trunc_post_decrypt); +#endif #ifdef WIN32 if (tuntap_defined (c->c1.tuntap)) status_printf (so, "TAP-WIN32 driver status,\"%s\"", |