]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
Fixed missing "|" in "||" operation
authorLast G <last_g@hackerdom.ru>
Wed, 12 Sep 2012 18:09:38 +0000 (00:09 +0600)
committerVictor Julien <victor@inliniac.net>
Mon, 19 Nov 2012 15:50:00 +0000 (16:50 +0100)
src/stream-tcp.c

index 2a9146560deb89b751cd451fdb97b67daadf5cb7..eaee4b5828e1f1a7b07b6c451be9bb583baffd54 100644 (file)
@@ -1318,7 +1318,7 @@ static int StreamTcpPacketStateSynRecv(ThreadVars *tv, Packet *p,
                             " not resetting the connection !!");
                 }
             } else {
-                if ((ssn->client.os_policy == OS_POLICY_LINUX) |
+                if ((ssn->client.os_policy == OS_POLICY_LINUX) ||
                         (ssn->client.os_policy == OS_POLICY_OLD_LINUX) ||
                         (ssn->client.os_policy == OS_POLICY_SOLARIS))
                 {