summaryrefslogtreecommitdiff
path: root/dissector_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'dissector_eth.c')
-rw-r--r--dissector_eth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dissector_eth.c b/dissector_eth.c
index f352645..0ac88af 100644
--- a/dissector_eth.c
+++ b/dissector_eth.c
@@ -118,15 +118,15 @@ static void dissector_init_ports(enum ports which)
switch (which) {
case PORTS_UDP:
- file = "/etc/netsniff-ng/udp.conf";
+ file = PREFIX_STRING "/etc/netsniff-ng/udp.conf";
table = &eth_ports_udp;
break;
case PORTS_TCP:
- file = "/etc/netsniff-ng/tcp.conf";
+ file = PREFIX_STRING "/etc/netsniff-ng/tcp.conf";
table = &eth_ports_tcp;
break;
case PORTS_ETHER:
- file = "/etc/netsniff-ng/ether.conf";
+ file = PREFIX_STRING "/etc/netsniff-ng/ether.conf";
table = &eth_ether_types;
break;
default: