Repository : ssh://git@open-mesh.org/alfred
On branch : master
commit 4ee7d22c01478e291cb9a7bc4fea85db51ec3f9c Author: Sven Eckelmann sven@narfation.org Date: Sat Nov 12 10:25:23 2016 +0100
alfred: Allow PUSH_DATA to finish transactions
A TXEND packet which is received in the middle of a transaction cannot finish this transaction. This can only be done by a PUSH_DATA when the rest of the packets were received.
Signed-off-by: Sven Eckelmann sven@narfation.org Signed-off-by: Simon Wunderlich sw@simonwunderlich.de
4ee7d22c01478e291cb9a7bc4fea85db51ec3f9c recv.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/recv.c b/recv.c index 1f56016..9fabfa4 100644 --- a/recv.c +++ b/recv.c @@ -250,6 +250,8 @@ static int process_alfred_push_data(struct globals *globals, list_add_tail(&transaction_packet->list, &head->packet_list); head->num_packet++;
+ finish_alfred_transaction(globals, head, mac); + return 0; err: return -1;