Fix broken fix. Shame on me for committing without testing.

remotes/origin/master-1.1.x
Victor Julien 14 years ago
parent 8528333035
commit ab28a6253f

@ -354,7 +354,6 @@ static int DetectIPProtoSetup(DetectEngineCtx *de_ctx, Signature *s, char *optst
j++; j++;
} }
#endif #endif
}
} else { } else {
for (i = 0; i < (data->proto / 8); i++) { for (i = 0; i < (data->proto / 8); i++) {
s->proto.proto[i] = 0; s->proto.proto[i] = 0;
@ -365,6 +364,7 @@ static int DetectIPProtoSetup(DetectEngineCtx *de_ctx, Signature *s, char *optst
} }
} }
} }
}
break; break;
case DETECT_IPPROTO_OP_LT: case DETECT_IPPROTO_OP_LT:
@ -474,7 +474,6 @@ static int DetectIPProtoSetup(DetectEngineCtx *de_ctx, Signature *s, char *optst
j++; j++;
} }
#endif #endif
}
} else { } else {
for (i = 0; i < (data->proto / 8); i++) { for (i = 0; i < (data->proto / 8); i++) {
s->proto.proto[i] &= 0xFF; s->proto.proto[i] &= 0xFF;
@ -485,6 +484,7 @@ static int DetectIPProtoSetup(DetectEngineCtx *de_ctx, Signature *s, char *optst
} }
} }
} }
}
break; break;
case DETECT_IPPROTO_OP_NOT: case DETECT_IPPROTO_OP_NOT:

Loading…
Cancel
Save