Browse Source

off by one?

pull/557/head
Jeff Becker 8 years ago
parent
commit
2412a0d502
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
  1. 2
      NetDb.cpp

2
NetDb.cpp

@ -626,7 +626,7 @@ namespace data
uint32_t replyTunnelID = 0; uint32_t replyTunnelID = 0;
if (flag & DATABASE_LOOKUP_DELIVERY_FLAG) //reply to tunnel if (flag & DATABASE_LOOKUP_DELIVERY_FLAG) //reply to tunnel
{ {
replyTunnelID = bufbe32toh (buf + 64); replyTunnelID = bufbe32toh (buf + 65);
excluded += 4; excluded += 4;
} }
uint16_t numExcluded = bufbe16toh (excluded); uint16_t numExcluded = bufbe16toh (excluded);

Loading…
Cancel
Save