summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2018-01-11 14:32:55 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2018-01-11 14:32:55 -0800
commitc594351bccda348c5605d5dfb77939cf8fa4f5f4 (patch)
treeb5a6401cf0ef12607c6acf3ca68048d706e83dc3 /service
parent5f976d74307e4fd6b62bfb8666122faf46416de8 (diff)
downloadinfinitytier-c594351bccda348c5605d5dfb77939cf8fa4f5f4.tar.gz
infinitytier-c594351bccda348c5605d5dfb77939cf8fa4f5f4.zip
Remove old code.
Diffstat (limited to 'service')
-rw-r--r--service/OneService.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp
index 7d254124..b6b6f5fe 100644
--- a/service/OneService.cpp
+++ b/service/OneService.cpp
@@ -842,18 +842,6 @@ public:
for(std::vector<MulticastGroup>::iterator m(c->second.second.begin());m!=c->second.second.end();++m)
_node->multicastUnsubscribe(c->first,m->mac().toInt(),m->adi());
}
- /*
- for(std::map<uint64_t,NetworkState>::const_iterator n(_nets.begin());n!=_nets.end();++n) {
- if (n->second.tap) {
- std::vector<MulticastGroup> added,removed;
- n->second.tap->scanMulticastGroups(added,removed);
- for(std::vector<MulticastGroup>::iterator m(added.begin());m!=added.end();++m)
- _node->multicastSubscribe((void *)0,n->first,m->mac().toInt(),m->adi());
- for(std::vector<MulticastGroup>::iterator m(removed.begin());m!=removed.end();++m)
- _node->multicastUnsubscribe(n->first,m->mac().toInt(),m->adi());
- }
- }
- */
}
// Sync information about physical network interfaces