nyu-mlab / pcap-parser

MIT License
1 stars 1 forks source link

Fix tshark path for mac and *nix #9

Closed moshiba closed 5 months ago

moshiba commented 5 months ago

On macOS, we expect users to have Wireshark installed, not the standalone tshark utility. When Wireshark is correctly installed, it doesn't expose tshark directly to the system path. Therefore, we need to determine the path to tshark manually.

We should revert part of #8, specifically speaking bc907e2, to fix the script for macOS.

Discovering paths on Linux with which is a good idea though.