diff options
author | Christian Pointner <equinox@anytun.org> | 2007-06-17 22:25:20 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2007-06-17 22:25:20 +0000 |
commit | 261c9067380c5311c98e3576540eee6015be3297 (patch) | |
tree | f384eb8edbcc4d35793071090839453bcb4418a4 /tunDevice.cpp | |
parent | added cypher and authalgo (diff) |
added [] - operator to Buffer
const Buffers are now possible
Diffstat (limited to 'tunDevice.cpp')
-rw-r--r-- | tunDevice.cpp | 2 |
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()); } |