2013-09-26 17:14:40 +02:00

14 lines
543 B
Plaintext

$NetBSD: patch-ad,v 1.3 2013/06/15 20:24:19 adam Exp $
--- scapy/data.py.orig 2009-09-23 14:27:36.000000000 +0000
+++ scapy/data.py
@@ -180,7 +180,7 @@ if WINDOWS:
MANUFDB = load_manuf(os.environ["ProgramFiles"] + "\\wireshark\\manuf")
else:
IP_PROTOS=load_protocols("/etc/protocols")
- ETHER_TYPES=load_ethertypes("/etc/ethertypes")
+ ETHER_TYPES=load_ethertypes("@PKG_SYSCONFDIR@/ethertypes")
TCP_SERVICES,UDP_SERVICES=load_services("/etc/services")
MANUFDB = load_manuf("/usr/share/wireshark/wireshark/manuf")