Browse Source

Merge pull request #555 from majestrate/fix-ff-off-by-one

off by one?
pull/556/head
orignal 8 years ago committed by GitHub
parent
commit
f51ba499d5
  1. 2
      NetDb.cpp

2
NetDb.cpp

@ -621,7 +621,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