TUN-8767: include raw output from network collector in diagnostic zipfile

## Summary

Export raw format of traceroute is widely known and useful for debugging. This raw output is written to the zipfile's root at the end of the diagnostic.

Closes TUN-8767
This commit is contained in:
Luis Neto
2024-12-04 04:40:51 -08:00
parent 7bd86762a7
commit 520e266411
3 changed files with 66 additions and 6 deletions

View File

@@ -39,7 +39,7 @@ func decodeNetworkOutputToFile(command *exec.Cmd, decodeLine DecodeLineFunc) ([]
return nil, buf.String(), err
}
return hops, "", nil
return hops, buf.String(), nil
}
func Decode(reader io.Reader, decodeLine DecodeLineFunc) ([]*Hop, error) {