Netcon mode for Linux (in this branch, will make conditional later)

This commit is contained in:
Adam Ierymenko
2015-09-02 16:15:22 -07:00
parent dfb08ec753
commit 1f4c667646
3 changed files with 22 additions and 7 deletions

View File

@ -62,7 +62,7 @@ NetconEthernetTap::NetconEthernetTap(
_dev = sockPath;
_unixListenSocket = _phy.unixListen(sockPath,(void *)this);
if (!_unixSocket)
if (!_unixListenSocket)
throw std::runtime_error(std::string("unable to bind to ")+sockPath);
_thread = Thread::start(this);