Skip to content

Commit

Permalink
lua: use tls_generic list for ssl/tls
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjulien committed Feb 16, 2017
1 parent a8975c6 commit 4ae4fd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/detect-lua.c
Expand Up @@ -1033,7 +1033,8 @@ static int DetectLuaSetup (DetectEngineCtx *de_ctx, Signature *s, char *str)
SigMatchAppendSMToList(s, sm, list);
}
} else if (lua->alproto == ALPROTO_TLS) {
SigMatchAppendSMToList(s, sm, DETECT_SM_LIST_AMATCH);
int list = DetectBufferTypeGetByName("tls_generic");
SigMatchAppendSMToList(s, sm, list);
} else if (lua->alproto == ALPROTO_SSH) {
SigMatchAppendSMToList(s, sm, DETECT_SM_LIST_AMATCH);
} else if (lua->alproto == ALPROTO_SMTP) {
Expand Down

0 comments on commit 4ae4fd0

Please sign in to comment.