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 3beff72..4a696c5 100644
--- a/dissector_eth.c
+++ b/dissector_eth.c
@@ -119,15 +119,15 @@ static void dissector_init_ports(enum ports which)
switch (which) {
case PORTS_UDP:
- file = PREFIX_STRING "/etc/netsniff-ng/udp.conf";
+ file = ETCDIRE_STRING "/udp.conf";
table = &eth_ports_udp;
break;
case PORTS_TCP:
- file = PREFIX_STRING "/etc/netsniff-ng/tcp.conf";
+ file = ETCDIRE_STRING "/tcp.conf";
table = &eth_ports_tcp;
break;
case PORTS_ETHER:
- file = PREFIX_STRING "/etc/netsniff-ng/ether.conf";
+ file = ETCDIRE_STRING "/ether.conf";
table = &eth_ether_types;
break;
default: