diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c index 498b122c3397..b7ce584a31ff 100644 --- a/sys/net/if_tun.c +++ b/sys/net/if_tun.c @@ -135,6 +135,8 @@ tunattach(dummy) ifp->if_oerrors = 0; ifp->if_ipackets = 0; ifp->if_opackets = 0; + ifp->if_ibytes = 0; + ifp->if_obytes = 0; if_attach(ifp); #if NBPFILTER > 0 bpfattach(ifp, DLT_NULL, sizeof(u_int));