summaryrefslogtreecommitdiff
path: root/tunDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tunDevice.cpp')
-rw-r--r--tunDevice.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tunDevice.cpp b/tunDevice.cpp
index 04fcb9a..bfac2a4 100644
--- a/tunDevice.cpp
+++ b/tunDevice.cpp
@@ -110,6 +110,8 @@ int TunDevice::read(Buffer& buf)
if(!dev_)
return -1;
+ perf_push (PERF_READ_IN_TUN);
+
return read_tun(dev_, buf, buf.getLength());
}