|
|
|
@ -791,9 +791,11 @@ namespace data
@@ -791,9 +791,11 @@ namespace data
|
|
|
|
|
LogPrint (eLogError, "NetDb: Database store msg with reply token is too short ", len, ". Dropped"); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
auto deliveryStatus = CreateDeliveryStatusMsg (replyToken); |
|
|
|
|
uint32_t tunnelID = bufbe32toh (buf + offset); |
|
|
|
|
offset += 4; |
|
|
|
|
if (replyToken != 0xFFFFFFFFU) // if not caught on OBEP or IBGW
|
|
|
|
|
{ |
|
|
|
|
auto deliveryStatus = CreateDeliveryStatusMsg (replyToken); |
|
|
|
|
if (!tunnelID) // send response directly
|
|
|
|
|
transports.SendMessage (buf + offset, deliveryStatus); |
|
|
|
|
else |
|
|
|
@ -805,6 +807,7 @@ namespace data
@@ -805,6 +807,7 @@ namespace data
|
|
|
|
|
else |
|
|
|
|
LogPrint (eLogWarning, "NetDb: No outbound tunnels for DatabaseStore reply found"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
offset += 32; |
|
|
|
|
} |
|
|
|
|
// we must send reply back before this check
|
|
|
|
|