summaryrefslogtreecommitdiff
path: root/src/bsd
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-01-20 13:31:13 +0000
committerChristian Pointner <equinox@anytun.org>2009-01-20 13:31:13 +0000
commitf545be8d6f8dcfdaaaa7f2791ad29e22639cc449 (patch)
treee9da65b3c2ad4e69abbf6f130be71cb504b4994c /src/bsd
parentadded actual node to tundevice (currently only for windows) (diff)
added actual_node_ to linux and bsd device as well
Diffstat (limited to 'src/bsd')
-rw-r--r--src/bsd/tunDevice.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bsd/tunDevice.cpp b/src/bsd/tunDevice.cpp
index ce2a413..421c1d5 100644
--- a/src/bsd/tunDevice.cpp
+++ b/src/bsd/tunDevice.cpp
@@ -100,6 +100,8 @@ TunDevice::TunDevice(std::string dev_name, std::string dev_type, std::string ifc
else
actual_name_ = dev_name;
+ actual_node_ = device_file;
+
init_post();
if(ifcfg_lp != "" && ifcfg_rnmp != "")