From edcb8fdb87fabb216fc9a87522a392f8be4e29f1 Mon Sep 17 00:00:00 2001 From: Last G Date: Thu, 13 Sep 2012 00:08:42 +0600 Subject: [PATCH] Added parenthesis for right operation order --- src/stream-tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream-tcp.c b/src/stream-tcp.c index 32f61b14ff..2a9146560d 100644 --- a/src/stream-tcp.c +++ b/src/stream-tcp.c @@ -1602,7 +1602,7 @@ static int HandleEstablishedPacketToServer(ThreadVars *tv, TcpSession *ssn, Pack "ACK %" PRIu32 ", WIN %"PRIu16"", ssn, p->payload_len, TCP_GET_SEQ(p), TCP_GET_ACK(p), TCP_GET_WINDOW(p)); - if (StreamTcpValidateAck(ssn, &ssn->server, p) == -1) { + if (StreamTcpValidateAck(ssn, &(ssn->server), p) == -1) { SCLogDebug("ssn %p: rejecting because of invalid ack value", ssn); StreamTcpSetEvent(p, STREAM_EST_INVALID_ACK); return -1; -- 2.47.3