diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2018-12-11 23:45:36 +0100 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2018-12-13 23:33:32 +0000 |
commit | 5bf37f63a880cc29b1ae12e73489b84c09ef7bf9 (patch) | |
tree | 32f6b367efdb24e9c87d255b42f15b6acfbb1355 /doc | |
parent | a87e56aa79f62ba8967e63da9d408e464596cd85 (diff) |
text2pcap: allow to set interface name
When generating a capture file from a text file it can be helpfull
to be able to set the capture interface name in the generated IDB.
This can be especially true if later on the generated captures are
merged and the individual IDB's have to be compared. Without a name
every IDB of the same datalink type will be equal and subject to
merge. Also it keeps the individual streams identifiable for the
end user.
Change-Id: I70224379d88f516a0a356bf0b46aebafb69665f0
Signed-off-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-on: https://code.wireshark.org/review/31015
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/text2pcap.pod | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/text2pcap.pod b/doc/text2pcap.pod index 7c41a0cfa8..7533744b20 100644 --- a/doc/text2pcap.pod +++ b/doc/text2pcap.pod @@ -19,6 +19,7 @@ S<[ B<-h> ]> S<[ B<-i> E<lt>protoE<gt> ]> S<[ B<-l> E<lt>typenumE<gt> ]> S<[ B<-n> ]> +S<[ B<-N> E<lt>intf-nameE<gt> ]> S<[ B<-m> E<lt>max-packetE<gt> ]> S<[ B<-o> hex|oct|dec ]> S<[ B<-q> ]> @@ -172,6 +173,11 @@ TCP packets. Write the file in pcapng format rather than pcap format. +=item -N E<lt>intf-nameE<gt> + +Specify a name for the interface included when writing a pcapng format +file. By default no name is defined. + =item -o hex|oct|dec Specify the radix for the offsets (hex, octal or decimal). Defaults to |