From 765b3fc896c38feebd5c5b9ddc63a613fe533054 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 20 Jan 2009 13:21:53 +0000 Subject: added actual node to tundevice (currently only for windows) --- src/tunDevice.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tunDevice.h') 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 -- cgit v1.2.3