Skip to content

Commit

Permalink
Merge pull request #168 from pakesson-truesec/fix-typos-in-wireshark-…
Browse files Browse the repository at this point in the history
…dissector

Fix minor typos in the Wireshark payload dissector
  • Loading branch information
sidcha committed Mar 11, 2024
2 parents 95ef70a + b7842b3 commit a3344e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/osdp_dissector.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ local payload = ProtoField.new("OSDP Payload", "Payload", ftypes.BYTES)

-- SC sub entries
local scb = ProtoField.new("Secure Channel Block", "SCB", ftypes.BYTES)
local sc_data = ProtoField.new("Enctrypted Data Block", "SC_DATA", ftypes.BYTES)
local sc_data = ProtoField.new("Encrypted Data Block", "SC_DATA", ftypes.BYTES)
local sc_mac = ProtoField.new("Message Authentication Code", "SC_MAC", ftypes.BYTES)

-- Plaintext sub entries
Expand Down Expand Up @@ -174,7 +174,7 @@ function osdp_protocol.dissector(buffer, pinfo, tree)
-- +1 and -1 below are to skip the Command/Response ID
offset = offset + scb_len + 1
payload_len = payload_len - scb_len - 1
local info = "Seure Message"
local info = "Secure Message"
if scb_type < 0x15 then
info = "SC Handshake"
end
Expand Down

0 comments on commit a3344e9

Please sign in to comment.