]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Don't continue to try to trace if we can't open the tracefile.
authorTed Lemon <source@isc.org>
Tue, 24 Apr 2001 00:51:31 +0000 (00:51 +0000)
committerTed Lemon <source@isc.org>
Tue, 24 Apr 2001 00:51:31 +0000 (00:51 +0000)
omapip/trace.c

index e9c621a631cc8c63c6cd8afbdb307c7b7457cdd0..197ab17aa67699ea81423b9487323fa2732d82ad 100644 (file)
@@ -67,7 +67,7 @@ int trace_playback ()
 
 int trace_record ()
 {
-       if (traceoutfile)
+       if (traceoutfile && !tracing_stopped)
                return 1;
        return 0;
 }