Fix stream unittest.

remotes/origin/master-1.1.x
Victor Julien 15 years ago
parent 88115902b0
commit 862b708a70

@ -7222,8 +7222,8 @@ static int StreamTcpReassembleTest43 (void) {
goto end; goto end;
} }
#endif #endif
if (ssn.flags & STREAMTCP_FLAG_APPPROTO_DETECTION_COMPLETED) { if (!(ssn.flags & STREAMTCP_FLAG_APPPROTO_DETECTION_COMPLETED)) {
printf("app layer detected flag is set, it shouldn't be (8): "); printf("app layer detected flag isn't set, it should be (8): ");
goto end; goto end;
} }

Loading…
Cancel
Save