From 87d97fbaa0eafb779f60f7b96314148d4248e9c6 Mon Sep 17 00:00:00 2001 From: slavikpi <57715313+slavikpi@users.noreply.github.com> Date: Wed, 20 Nov 2019 14:41:05 +0200 Subject: [PATCH] Update redis-wireshark.lua --- redis-wireshark.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis-wireshark.lua b/redis-wireshark.lua index 0c69836..bc9ee42 100644 --- a/redis-wireshark.lua +++ b/redis-wireshark.lua @@ -36,7 +36,7 @@ do -- scope local line = matches(buffer, offset) -- get next line local length = line:len() - local prefix, text = line:match('([-+:$*])(.+)') + local prefix, text = line:match('^([-+:$*])(.+)') local mtype = mtypes[prefix] if not prefix or not text then