From e9104d332552bc617b30bc8b7db0ccfac53bff72 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 9 May 2008 18:19:05 +0000 Subject: linux tun/tap device works now with tun *and* tap TODO: ifconfig --- src/ovpn/tunDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ovpn/tunDevice.cpp') diff --git a/src/ovpn/tunDevice.cpp b/src/ovpn/tunDevice.cpp index b3c07b0..032af29 100644 --- a/src/ovpn/tunDevice.cpp +++ b/src/ovpn/tunDevice.cpp @@ -144,7 +144,7 @@ char* TunDevice::getActualName() return dev_->actual_name; } -u_int32_t TunDevice::getType() +device_type_t TunDevice::getType() { if(!dev_) return TYPE_UNDEF; -- cgit v1.2.3