diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-01-06 15:35:27 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-01-06 15:35:27 -0800 |
| commit | a56fbc1929d3cb2c6c5a1b4acb3b026a1e13135d (patch) | |
| tree | 55c3761b1d52f976b954a69f3a7d9a2416a3b494 /node/Switch.cpp | |
| parent | 47ce52228b2400cdcfbd90d30b9536b013f6706a (diff) | |
| download | infinitytier-a56fbc1929d3cb2c6c5a1b4acb3b026a1e13135d.tar.gz infinitytier-a56fbc1929d3cb2c6c5a1b4acb3b026a1e13135d.zip | |
Close another potential anti-recursion loophole.
Diffstat (limited to 'node/Switch.cpp')
| -rw-r--r-- | node/Switch.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp index a6575836..a9885a29 100644 --- a/node/Switch.cpp +++ b/node/Switch.cpp @@ -97,6 +97,7 @@ void Switch::onRemotePacket(const InetAddress &localAddr,const InetAddress &from _lastBeaconResponse = now; Packet outp(peer->address(),RR->identity.address(),Packet::VERB_NOP); outp.armor(peer->key(),true); + RR->antiRec->logOutgoingZT(outp.data(),outp.size()); RR->node->putPacket(localAddr,fromAddr,outp.data(),outp.size()); } } |
