diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-09-30 17:26:34 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-09-30 17:26:34 -0700 |
| commit | b41437780b5740f7fcb813412b2bf4157ac8d807 (patch) | |
| tree | 2f2168808ec882fb06d7497c3ea308251126554b /node/OutboundMulticast.cpp | |
| parent | 2659427864aee89977a58440705f7069c0e6c639 (diff) | |
| download | infinitytier-b41437780b5740f7fcb813412b2bf4157ac8d807.tar.gz infinitytier-b41437780b5740f7fcb813412b2bf4157ac8d807.zip | |
Add origin to new MULTICAST_FRAME, move security check for certs into Network to remove redundant code and bug-proneness, more work on IncomingPacket...
Diffstat (limited to 'node/OutboundMulticast.cpp')
| -rw-r--r-- | node/OutboundMulticast.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node/OutboundMulticast.cpp b/node/OutboundMulticast.cpp index 0643820e..cd11a523 100644 --- a/node/OutboundMulticast.cpp +++ b/node/OutboundMulticast.cpp @@ -43,6 +43,7 @@ void OutboundMulticast::init(uint64_t timestamp,const Address &self,uint64_t nwi _packet.setSource(self); _packet.setVerb(Packet::VERB_MULTICAST_FRAME); + self.appendTo(_packet); _packet.append((uint64_t)nwid); _packet.append((uint8_t)((com) ? 0x01 : 0x00)); _packet.append((uint32_t)gatherLimit); // gather limit -- set before send, start with 0 |
