From bf95322fc1ef2d0d7a21cb0e6a9bf01902024859 Mon Sep 17 00:00:00 2001 From: David Gibson Date: Fri, 26 Aug 2022 14:58:32 +1000 Subject: conf: Make the argument to --pcap option mandatory The --pcap or -p option can be used with or without an argument. If given, the argument gives the name of the file to save a packet trace to. If omitted, we generate a default name in /tmp. Generating the default name isn't particularly useful though, since making a suitable name can easily be done by the caller. Remove this feature. Signed-off-by: David Gibson --- passt.1 | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'passt.1') diff --git a/passt.1 b/passt.1 index 378778c..9bed946 100644 --- a/passt.1 +++ b/passt.1 @@ -111,16 +111,6 @@ Display a help message and exit. Capture tap-facing (that is, guest-side or namespace-side) network packets to \fIfile\fR in \fBpcap\fR format. -If \fIfile\fR is not given, capture packets to - - \fB/tmp/passt_\fIISO8601-timestamp\fR_\fIPID\fB.pcap\fR - -in \fBpasst\fR mode and to - - \fB/tmp/pasta_\fIISO8601-timestamp\fR_\fIPID\fB.pcap\fR - -in \fBpasta\fR mode, where \fIPID\fR is the ID of the running process. - .TP .BR \-P ", " \-\-pid " " \fIfile Write own PID to \fIfile\fR once initialisation is done, before forking to -- cgit v1.2.3