diff options
| author | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2013-08-27 15:55:32 -0400 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2013-08-27 15:55:32 -0400 |
| commit | cd907a76626538a831e8fc90806aecfe07f47582 (patch) | |
| tree | b509368187bae6506934f82ca91a07747737e3ed /node/Network.cpp | |
| parent | 1c88a518cfd9783f70659dc1f578f1f73ae49561 (diff) | |
| download | infinitytier-cd907a76626538a831e8fc90806aecfe07f47582.tar.gz infinitytier-cd907a76626538a831e8fc90806aecfe07f47582.zip | |
More tap work -- DHCP configuration and such.
Diffstat (limited to 'node/Network.cpp')
| -rw-r--r-- | node/Network.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node/Network.cpp b/node/Network.cpp index 496e58fe..730e86d2 100644 --- a/node/Network.cpp +++ b/node/Network.cpp @@ -175,6 +175,7 @@ void Network::setConfiguration(const Network::Config &conf) _lastConfigUpdate = Utils::now(); _tap->setIps(conf.staticAddresses()); + _tap->setDisplayName((std::string("ZeroTier One [") + conf.name() + "]").c_str()); std::string confPath(_r->homePath + ZT_PATH_SEPARATOR_S + "networks.d" + ZT_PATH_SEPARATOR_S + toString() + ".conf"); if (!Utils::writeFile(confPath.c_str(),conf.toString())) { |
