File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 88#include " inet/queueing/flow/FlowMeasurementRecorder.h"
99
1010#include " inet/common/FlowTag.h"
11+ #include " inet/common/INETUtils.h"
1112#include " inet/common/PacketEventTag.h"
1213
1314namespace inet {
@@ -62,7 +63,9 @@ void FlowMeasurementRecorder::initialize(int stage)
6263 measurePropagationTime = matchesString (measureMatcher, " propagationTime" );
6364 measurePacketEvent = matchesString (measureMatcher, " packetEvent" );
6465 if (measurePacketEvent) {
65- packetEventFile.open (par (" packetEventFileName" ).stringValue (), std::ios::out);
66+ const char *fileName = par (" packetEventFileName" );
67+ inet::utils::makePathForFile (fileName);
68+ packetEventFile.open (fileName, std::ios::out);
6669 packetEventFile.openArray ();
6770 }
6871 }
You can’t perform that action at this time.
0 commit comments