summaryrefslogtreecommitdiff
path: root/netcon
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-09-02 16:15:22 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-09-02 16:15:22 -0700
commit1f4c667646eeed9a2efa8a7df6a3b077108fbdcd (patch)
treec629664114ea3b55cfdbe40af2489eb77d02ae79 /netcon
parentdfb08ec753018b8f81cd81839b737ef6f75a9901 (diff)
downloadinfinitytier-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.cpp2
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);