mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-04-28 23:19:42 +00:00
Fixes #777
This commit is contained in:
parent
3f56b2476a
commit
19dbcaa3a9
4 changed files with 188 additions and 183 deletions
|
|
@ -166,7 +166,7 @@ def packetcaptured(packet):
|
|||
#filling pcap_pkthdr
|
||||
h.len = h.caplen = len(packet)
|
||||
h.ts.tv_sec = int(packet["IP"].time/1000000)
|
||||
h.ts.tv_usec = round(packet["IP"].time)
|
||||
h.ts.tv_usec = int(packet["IP"].time)
|
||||
|
||||
# real work
|
||||
if int(packet[1].frag) == 0: # not fragmented packet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue