summaryrefslogtreecommitdiff
path: root/src/tunDevice.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-12-17 21:53:49 +0000
committerOthmar Gsenger <otti@anytun.org>2008-12-17 21:53:49 +0000
commit3f59ed36092bccfff88cf7579071c1216ea55ed2 (patch)
tree60e5cc427c373bfd274950fcb87a45e5bc01a25e /src/tunDevice.h
parentfixed bug in routing initialisation (diff)
fixed tundevice for windows
Diffstat (limited to 'src/tunDevice.h')
-rw-r--r--src/tunDevice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tunDevice.h b/src/tunDevice.h
index 3768cf9..99f3d4b 100644
--- a/src/tunDevice.h
+++ b/src/tunDevice.h
@@ -50,7 +50,7 @@ public:
std::string getTypeString()
{
if(fd_ < 0)
- return NULL;
+ return "";
switch(conf_.type_)
{
@@ -58,7 +58,7 @@ public:
case TYPE_TUN: return "tun"; break;
case TYPE_TAP: return "tap"; break;
}
- return NULL;
+ return "";
}