summaryrefslogtreecommitdiff
path: root/tunDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tunDevice.cpp')
-rw-r--r--tunDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tunDevice.cpp b/tunDevice.cpp
index 40d0f9d..81f4cbb 100644
--- a/tunDevice.cpp
+++ b/tunDevice.cpp
@@ -153,7 +153,7 @@ u_int32_t TunDevice::getType()
return TYPE_UNDEF;
}
-char* TunDevice::getTypeString()
+const char* TunDevice::getTypeString()
{
if(!dev_)
return NULL;