summaryrefslogtreecommitdiff
path: root/tunDevice.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2007-06-17 22:25:20 +0000
committerChristian Pointner <equinox@anytun.org>2007-06-17 22:25:20 +0000
commit261c9067380c5311c98e3576540eee6015be3297 (patch)
treef384eb8edbcc4d35793071090839453bcb4418a4 /tunDevice.cpp
parentadded cypher and authalgo (diff)
added [] - operator to Buffer
const Buffers are now possible
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());
}