The argument to the -l flag to text2pcap is a LINKTYPE_ value, not a
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 29 Jul 2013 08:30:42 +0000 (08:30 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 29 Jul 2013 08:30:42 +0000 (08:30 +0000)
commit34586f9339b565e6c771d6db36c9f3ff0316a564
tree466804e6aef180cbbf9bec72bb65db30869d980d
parent17fb99a6a155bcdc52ffe500d4e67c09d04ce95e
The argument to the -l flag to text2pcap is a LINKTYPE_ value, not a
DLT_ value, which is good because it's a numerical value and the
numerical values for some link-layer header types are OS-dependent, but
the numerical values for all LINKTYPE_ values are OS-independent.  Use
LINKTYPE_RAW, not the value for the DLT_RAW on some but not all OSes,
for raw IP.

Also, 7 is LINKTYPE_ARCNET_BSD, emphasis on the "_BSD"; there's also a
Linux encapsulation for ARCNet that is different.  Note that it's the
BSD flavor.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@51005 f5534014-38df-0310-8fa8-9805f1628bb7
doc/text2pcap.pod