diff options
-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 |