From 1f4c667646eeed9a2efa8a7df6a3b077108fbdcd Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 2 Sep 2015 16:15:22 -0700 Subject: Netcon mode for Linux (in this branch, will make conditional later) --- netcon/NetconEthernetTap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'netcon') 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); -- cgit v1.2.3