From eb554a504d8dc4d71ef61a1198cdb641a0c46b03 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 23 Jan 2014 16:25:51 -0800 Subject: [PATCH] Fix for allIps -> ips in EthernetTap on Unix. --- node/EthernetTap.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/node/EthernetTap.cpp b/node/EthernetTap.cpp index 81cf5c4fb..874825379 100644 --- a/node/EthernetTap.cpp +++ b/node/EthernetTap.cpp @@ -536,10 +536,10 @@ bool EthernetTap::removeIP(const InetAddress &ip) return false; } -std::set EthernetTap::allIps() const +std::set EthernetTap::ips() const { - // TODO - return ips(); + Mutex::Lock _l(_ips_m); + return _ips; } void EthernetTap::put(const MAC &from,const MAC &to,unsigned int etherType,const void *data,unsigned int len)