diff options
author | Othmar Gsenger <otti@anytun.org> | 2008-12-17 21:53:49 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2008-12-17 21:53:49 +0000 |
commit | 3f59ed36092bccfff88cf7579071c1216ea55ed2 (patch) | |
tree | 60e5cc427c373bfd274950fcb87a45e5bc01a25e /src/tunDevice.h | |
parent | fixed bug in routing initialisation (diff) |
fixed tundevice for windows
Diffstat (limited to 'src/tunDevice.h')
-rw-r--r-- | src/tunDevice.h | 4 |
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 ""; } |