summaryrefslogtreecommitdiff
path: root/node/Switch.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-03-20 13:21:58 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-03-20 13:21:58 -0700
commit6f5a4d7e2984916379b11d688ccc54cac473239e (patch)
tree16966056d2e1a8cbbf23390ff74be943df39ebcb /node/Switch.cpp
parent4d0ad9abb654d3b987148f024ffeb1a04da2b574 (diff)
downloadinfinitytier-6f5a4d7e2984916379b11d688ccc54cac473239e.tar.gz
infinitytier-6f5a4d7e2984916379b11d688ccc54cac473239e.zip
Fix blocking socket issues in new socket I/O code.
Diffstat (limited to 'node/Switch.cpp')
-rw-r--r--node/Switch.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp
index a59473b7..351034b2 100644
--- a/node/Switch.cpp
+++ b/node/Switch.cpp
@@ -155,6 +155,9 @@ void Switch::onLocalEthernet(const SharedPtr<Network> &network,const MAC &from,c
outp.append((uint16_t)sig.size());
outp.append(sig.data,(unsigned int)sig.size());
+ // FIXME: now we send the netconf cert with every single multicast,
+ // which pretty much ensures everyone has it ahead of time but adds
+ // some redundant payload. Maybe think abouut this in the future.
if (nconf->com())
nconf->com().serialize(outp);