summaryrefslogtreecommitdiff
path: root/trafgen_parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'trafgen_parser.y')
-rw-r--r--trafgen_parser.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/trafgen_parser.y b/trafgen_parser.y
index 93755e9..fd7da76 100644
--- a/trafgen_parser.y
+++ b/trafgen_parser.y
@@ -593,8 +593,8 @@ int compile_packets(char *file, int verbose, int cpu, bool invoke_cpp)
base = basename((b = xstrdup(file)));
slprintf(tmp_file, sizeof(tmp_file), "%s/.tmp-%u-%s", dir, rand(), base);
- slprintf(cmd, sizeof(cmd), "cpp -I" PREFIX_STRING
- "/etc/netsniff-ng/ %s > %s", file, tmp_file);
+ slprintf(cmd, sizeof(cmd), "cpp -I" ETCDIRE_STRING " %s > %s",
+ file, tmp_file);
if (system(cmd) != 0)
panic("Failed to invoke C preprocessor!\n");