mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-20 16:10:25 +00:00
More tap work -- DHCP configuration and such.
This commit is contained in:
@ -233,6 +233,15 @@ public:
|
||||
#endif
|
||||
}
|
||||
|
||||
inline std::string name() const
|
||||
{
|
||||
if (contains("name"))
|
||||
return get("name");
|
||||
char buf[32];
|
||||
sprintf(buf,"%.16llx",(unsigned long long)networkId());
|
||||
return std::string(buf);
|
||||
}
|
||||
|
||||
inline Address peerAddress() const
|
||||
throw(std::invalid_argument)
|
||||
{
|
||||
|
Reference in New Issue
Block a user