More tap work -- DHCP configuration and such.

This commit is contained in:
Adam Ierymenko
2013-08-27 15:55:32 -04:00
parent 1c88a518cf
commit cd907a7662
4 changed files with 71 additions and 0 deletions

View File

@ -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)
{