Revert "Revert "Testing pcapng fileformat""

This reverts commit d142840307.
This commit is contained in:
Jeroen Oudshoorn
2024-02-05 17:16:13 +01:00
parent 5a6ec7b4b8
commit dffcbbf447
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