diff --git a/src/Cedar/Virtual.c b/src/Cedar/Virtual.c index 3c503f54..8f6cf5e9 100644 --- a/src/Cedar/Virtual.c +++ b/src/Cedar/Virtual.c @@ -5009,7 +5009,7 @@ void PollingNatTcp(VH *v, NAT_ENTRY *n) if (n->TcpFinished) { // Disconnect if all data transmission has completed - if (n->SendFifo->size == 0) + if (n->SendFifo->size == 0 && n->RecvFifo->size == 0) { n->TcpStatus = NAT_TCP_SEND_RESET; }