From 9b5999250621fa251a02c5635fa210125092b98d Mon Sep 17 00:00:00 2001 From: Ben Klaas Date: Mon, 27 Mar 2023 13:10:10 -0500 Subject: [PATCH] Remove -I flag, which causes RasPi a FATAL error --- .../internal/session-counter-helper/tlp/simpleshark.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imls-wifi-sensor/internal/session-counter-helper/tlp/simpleshark.go b/imls-wifi-sensor/internal/session-counter-helper/tlp/simpleshark.go index 7a7ef6fb..a7fd07b0 100644 --- a/imls-wifi-sensor/internal/session-counter-helper/tlp/simpleshark.go +++ b/imls-wifi-sensor/internal/session-counter-helper/tlp/simpleshark.go @@ -19,7 +19,7 @@ func TSharkRunner(adapter string) []string { tsharkCmd := exec.Command( config.GetWiresharkPath(), "-a", fmt.Sprintf("duration:%d", config.GetWiresharkDuration()), - "-I", "-i", adapter, + "-i", adapter, "-Tfields", "-e", "wlan.sa") tsharkOut, err := tsharkCmd.StdoutPipe()