Skip to content

Commit

Permalink
msg: s/footer/suffix when talking about suffix fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Snaipe committed Nov 5, 2016
1 parent d796081 commit 3b9efba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wssdl/wireshark.lua
Expand Up @@ -172,7 +172,7 @@ local dissect_type = {
local mname = 'string'
if not field._size or field._size == 0 then
if reverse then
error('wssdl: Null-terminated strings cannot logically be used as footer fields.')
error('wssdl: Null-terminated strings cannot logically be used as suffix fields.')
end
raw = buf(math.floor(idx / 8))
mname = mname .. 'z'
Expand Down Expand Up @@ -346,7 +346,7 @@ ws.dissector = function (pkt, proto)

if sz == nil then
if reverse then
error('wssdl: Cannot evaluate the size of the footer field ' .. utils.quote(field._name))
error('wssdl: Cannot evaluate the size of the suffix field ' .. utils.quote(field._name))
elseif #pkt._definition ~= ifield then
local res, err = dissect_pkt(pkt, buf:len() * 8, buf,
pinfo, #pkt._definition, ifield + 1, true)
Expand Down

0 comments on commit 3b9efba

Please sign in to comment.