text2pcap: allow to set interface name
authorJaap Keuter <jaap.keuter@xs4all.nl>
Tue, 11 Dec 2018 22:45:36 +0000 (23:45 +0100)
committerPeter Wu <peter@lekensteyn.nl>
Thu, 13 Dec 2018 23:33:32 +0000 (23:33 +0000)
commit5bf37f63a880cc29b1ae12e73489b84c09ef7bf9
tree32f6b367efdb24e9c87d255b42f15b6acfbb1355
parenta87e56aa79f62ba8967e63da9d408e464596cd85
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>
doc/text2pcap.pod
test/suite_text2pcap.py
text2pcap.c