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 8
8
#include " inet/queueing/flow/FlowMeasurementRecorder.h"
9
9
10
10
#include " inet/common/FlowTag.h"
11
+ #include " inet/common/INETUtils.h"
11
12
#include " inet/common/PacketEventTag.h"
12
13
13
14
namespace inet {
@@ -62,7 +63,9 @@ void FlowMeasurementRecorder::initialize(int stage)
62
63
measurePropagationTime = matchesString (measureMatcher, " propagationTime" );
63
64
measurePacketEvent = matchesString (measureMatcher, " packetEvent" );
64
65
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);
66
69
packetEventFile.openArray ();
67
70
}
68
71
}
You can’t perform that action at this time.
0 commit comments