diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-09-02 16:15:22 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-09-02 16:15:22 -0700 |
| commit | 1f4c667646eeed9a2efa8a7df6a3b077108fbdcd (patch) | |
| tree | c629664114ea3b55cfdbe40af2489eb77d02ae79 /netcon | |
| parent | dfb08ec753018b8f81cd81839b737ef6f75a9901 (diff) | |
| download | infinitytier-1f4c667646eeed9a2efa8a7df6a3b077108fbdcd.tar.gz infinitytier-1f4c667646eeed9a2efa8a7df6a3b077108fbdcd.zip | |
Netcon mode for Linux (in this branch, will make conditional later)
Diffstat (limited to 'netcon')
| -rw-r--r-- | netcon/NetconEthernetTap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netcon/NetconEthernetTap.cpp b/netcon/NetconEthernetTap.cpp index 578b836e..fe1dac83 100644 --- a/netcon/NetconEthernetTap.cpp +++ b/netcon/NetconEthernetTap.cpp @@ -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); |
