X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=netgrind%2Ftcp.c;h=7ca74ee4c44a9460de918279f53b0f5ace30f826;hb=fc551e50d9445824c5ccaa0e58c701152444f62b;hp=b90838d513c32fbe591f6cd375963c6f0653c0bc;hpb=017e4c895149f094c3100b6c077fb05b0d67bf38;p=netgrind.git diff --git a/netgrind/tcp.c b/netgrind/tcp.c index b90838d..7ca74ee 100644 --- a/netgrind/tcp.c +++ b/netgrind/tcp.c @@ -393,6 +393,9 @@ void tcp_got_packet(struct iphdr *iph, struct pkt *p) else if (b->state == FLOW_FIN_SENT && b->syn_or_fin_seq+1 == ack) { b->state = FLOW_FINISHED; + q = pkt_new(0, 0); + q->timestamp = p->timestamp; + f->appl->input(f, (b == &f->pipe[0]), q); if (a->state == FLOW_FINISHED) { DBG("CLOSED BOTH WAYS\n");