1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-29 04:54:28 +01:00

NetworkInterface class is working.

This commit is contained in:
Matias Fontanini
2012-08-09 09:52:44 -03:00
parent dd1d1c3c49
commit 29c5a696e5
7 changed files with 196 additions and 25 deletions

View File

@@ -291,7 +291,7 @@ namespace Tins {
struct ifaddrs *if_it = 0;
getifaddrs(&ifaddrs);
for(if_it = ifaddrs; if_it; if_it = if_it->ifa_next) {
if(!functor(if_it))
if(functor(if_it))
break;
}
if(ifaddrs)