diff options
author | Erwin Nindl <nine@wirdorange.org> | 2007-11-07 19:08:25 +0000 |
---|---|---|
committer | Erwin Nindl <nine@wirdorange.org> | 2007-11-07 19:08:25 +0000 |
commit | dd056636dd2cd8c83822ebecfc2448cf8b4b713c (patch) | |
tree | e2ca8e3f9565f7da7a7bbbd9a8d9ebd317b2e5b1 /tunDevice.cpp | |
parent | i 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.cpp | 2 |
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; |