diff options
author | Christian Pointner <equinox@anytun.org> | 2009-01-20 13:21:53 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-01-20 13:21:53 +0000 |
commit | 765b3fc896c38feebd5c5b9ddc63a613fe533054 (patch) | |
tree | 7d437440f1642889252b5adf1ebf6d98b7eebe89 /src/tunDevice.h | |
parent | recv also throws runtime error on windows when an icmp unreachable message ar... (diff) |
added actual node to tundevice (currently only for windows)
Diffstat (limited to 'src/tunDevice.h')
-rw-r--r-- | src/tunDevice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tunDevice.h b/src/tunDevice.h index a5e0a09..d680662 100644 --- a/src/tunDevice.h +++ b/src/tunDevice.h @@ -50,6 +50,7 @@ public: int write(u_int8_t* buf, u_int32_t len); std::string getActualName() { return actual_name_; } + std::string getActualNode() { return actual_node_; } device_type_t getType() { return conf_.type_; } std::string getTypeString() { @@ -88,6 +89,7 @@ private: DeviceConfig conf_; bool with_pi_; std::string actual_name_; + std::string actual_node_; }; #endif |