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

Loading…
Cancel
Save