diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-05-07 07:14:25 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-05-07 07:14:25 +0200 |
commit | 5afb2ade4a2aafff2520d18565b7df3ae1d3d1ac (patch) | |
tree | 0a7aff0952e0cd686cceb5fc5e0dff3e9418a398 | |
parent | 7cc42b32df14c8656d58a995b3b6b7052427306a (diff) | |
download | wireshark-dissectors-5afb2ade4a2aafff2520d18565b7df3ae1d3d1ac.tar.gz |
add comments
-rw-r--r-- | usb/ncr-dispenser.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usb/ncr-dispenser.lua b/usb/ncr-dispenser.lua index 216cb65..2ade95d 100644 --- a/usb/ncr-dispenser.lua +++ b/usb/ncr-dispenser.lua @@ -38,9 +38,9 @@ function dispenser_proto.dissector(buffer,pinfo,tree) local usb_tt = usb_tt_f() local usb_dl = usb_dl_f() if usb_tt.value == 0x01 and usb_dl.value >= 63 then - local off = 64 + local off = 64 -- linux (usbmon) if usb_hl then - off = usb_hl.value + off = usb_hl.value -- windows (https://desowin.org/usbpcap/) end local magic = buffer(off + 8,2) if magic:le_uint() == 0xbeef then |