summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-09-03 16:44:04 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-09-03 16:44:04 -0700
commit10707c3673ca0cef9ecd09074f3b8253df7678b0 (patch)
tree6ab9ec7c7cde0ac39d9341fca775eccac71e183e
parentb9d4b42f93bf364c9a8e4ae5147ef2b6a6fa9f1a (diff)
downloadinfinitytier-10707c3673ca0cef9ecd09074f3b8253df7678b0.tar.gz
infinitytier-10707c3673ca0cef9ecd09074f3b8253df7678b0.zip
build fix
-rw-r--r--netcon/NetconEthernetTap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/netcon/NetconEthernetTap.cpp b/netcon/NetconEthernetTap.cpp
index 4266521c..bc4cb928 100644
--- a/netcon/NetconEthernetTap.cpp
+++ b/netcon/NetconEthernetTap.cpp
@@ -101,7 +101,7 @@ bool NetconEthernetTap::addIp(const InetAddress &ip)
bool NetconEthernetTap::removeIp(const InetAddress &ip)
{
Mutex::Lock _l(_ips_m);
- std::vector<InetAddress> i(std::find(_ips.begin(),_ips.end(),ip));
+ std::vector<InetAddress>::iterator i(std::find(_ips.begin(),_ips.end(),ip));
if (i == _ips.end())
return false;