diff options
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 ""; } |