Bug in enabling tracing
authorRichard Whitehouse <github@richardwhiuk.com>
Sat, 16 Apr 2011 17:14:09 +0000 (18:14 +0100)
committerRichard Whitehouse <github@richardwhiuk.com>
Sat, 16 Apr 2011 17:14:09 +0000 (18:14 +0100)
src/simulation/simulation.cc

index 0d57eaf9023eff469592792d89a6da6b9ce7d442..5403c2804630c408aa5d3bbc271826e7f5f79af7 100644 (file)
@@ -171,7 +171,7 @@ try {
 
        NS_LOG_INFO ("Configure Tracing");
 
-       if(csmaTraceFile != "" && ipTraceFile != ""){
+       if(csmaTraceFile != "" || ipTraceFile != ""){
                AsciiTraceHelper ascii;
 
                if(csmaTraceFile != ""){