From 01856440e8b30b0f5e192f6bb04af3291f7775e1 Mon Sep 17 00:00:00 2001 From: celeste Date: Wed, 22 Jul 2026 13:25:04 -0700 Subject: [PATCH] fix(modules): pass case-insensitive flag to tcp word matcher (#373) #308's tcp.go called checkWords/3 but #319 added the caseInsensitive param (and updated the http path in executor.go, not the tcp one). main stopped compiling once both landed: tcp.go:236 not enough arguments in call to checkWords. mirror executor.go and pass m.CaseInsensitive. Co-authored-by: vmfunc --- internal/modules/tcp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/modules/tcp.go b/internal/modules/tcp.go index 175f98d..2fe558c 100644 --- a/internal/modules/tcp.go +++ b/internal/modules/tcp.go @@ -233,7 +233,7 @@ func checkTCPMatchers(matchers []Matcher, condition string, data string) bool { func checkTCPMatcher(m *Matcher, data string) bool { switch m.Type { case "word": - return checkWords(data, m.Words, m.Condition) + return checkWords(data, m.Words, m.Condition, m.CaseInsensitive) case "regex": return checkRegex(data, m.Regex, m.Condition) case "size":