Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix minor typos in the Wireshark payload dissector #168

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading