From 8a2a71cdc4772f5962c3aa6c870bbe6f389acd71 Mon Sep 17 00:00:00 2001 From: Michael Farrell Date: Mon, 18 Mar 2019 16:28:27 +1100 Subject: [PATCH] Add default path to Wireshark on OSX --- scapy/data.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scapy/data.py b/scapy/data.py index 0991a912c4c..0115efefb47 100644 --- a/scapy/data.py +++ b/scapy/data.py @@ -271,7 +271,8 @@ def load_manuf(filename): ETHER_TYPES = load_ethertypes("/etc/ethertypes") TCP_SERVICES, UDP_SERVICES = load_services("/etc/services") MANUFDB = None - for prefix in ['/usr', '/usr/local', '/opt', '/opt/wireshark']: + for prefix in ['/usr', '/usr/local', '/opt', '/opt/wireshark', + '/Applications/Wireshark.app/Contents/Resources']: try: MANUFDB = load_manuf(os.path.join(prefix, "share", "wireshark", "manuf"))