Revert "Revert "Testing pcapng fileformat""

This reverts commit 0e274af5a0.
This commit is contained in:
Jeroen Oudshoorn
2024-02-08 22:51:57 +01:00
parent 0e274af5a0
commit ca4feb895e
9 changed files with 44 additions and 53 deletions

View File

@ -48,7 +48,7 @@ class GPS(plugins.Plugin):
if self.running:
info = agent.session()
self.coordinates = info["gps"]
gps_filename = filename.replace(".pcap", ".gps.json")
gps_filename = filename.replace(".pcapng", ".gps.json")
if self.coordinates and all([
# avoid 0.000... measurements