summaryrefslogtreecommitdiff
path: root/src/ovpn/tunDevice.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-05-09 18:19:05 +0000
committerChristian Pointner <equinox@anytun.org>2008-05-09 18:19:05 +0000
commite9104d332552bc617b30bc8b7db0ccfac53bff72 (patch)
tree4f95804bb4236782ac9fa080040dbe5fff3a660a /src/ovpn/tunDevice.h
parentbugfix @ tundevice and ipv6 (diff)
linux tun/tap device works now with tun *and* tap
TODO: ifconfig
Diffstat (limited to 'src/ovpn/tunDevice.h')
-rw-r--r--src/ovpn/tunDevice.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ovpn/tunDevice.h b/src/ovpn/tunDevice.h
index 56b06fd..ba41cce 100644
--- a/src/ovpn/tunDevice.h
+++ b/src/ovpn/tunDevice.h
@@ -32,6 +32,7 @@
#define _TUNDEVICE_H_
#include "buffer.h"
+#include "deviceConfig.hpp"
#include "threadUtils.hpp"
class TunDevice
@@ -48,7 +49,7 @@ public:
int write(u_int8_t* buf, u_int32_t len);
char* getActualName();
- u_int32_t getType();
+ device_type_t getType();
const char* getTypeString();
private: