aboutsummaryrefslogtreecommitdiff
path: root/sig.c
diff options
context:
space:
mode:
Diffstat (limited to 'sig.c')
-rw-r--r--sig.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sig.c b/sig.c
index efb3880..d144d54 100644
--- a/sig.c
+++ b/sig.c
@@ -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\"",