summaryrefslogtreecommitdiff
path: root/tunDevice.cpp
diff options
context:
space:
mode:
authorErwin Nindl <nine@wirdorange.org>2007-11-07 19:08:25 +0000
committerErwin Nindl <nine@wirdorange.org>2007-11-07 19:08:25 +0000
commitdd056636dd2cd8c83822ebecfc2448cf8b4b713c (patch)
treee2ca8e3f9565f7da7a7bbbd9a8d9ebd317b2e5b1 /tunDevice.cpp
parenti bin da beste deshalb haut des jetzt endlich so hin (diff)
* TunDevice: changed 'char* getTypeString()' to 'const char* getTypeString()'
to fix warning: deprecated conversion from string constant to ‘char*’ * removed libsrtp, use libgcrypt instead now * added buffer funcitons TODO: * fix IV issues * add authentification
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;