mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-13 16:43:26 -07:00
More tap work -- DHCP configuration and such.
This commit is contained in:
parent
1c88a518cf
commit
cd907a7662
4 changed files with 71 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue