diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2007-09-11 21:31:21 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2007-09-11 21:31:21 +0000 |
commit | 42ee794742040c911e2850a79c4bb767369aa7bc (patch) | |
tree | fe63d00af4969b0a31f6e86a5db3873c370dbbea /wiretap/libpcap.c | |
parent | 2aaad94ffde6fa3e5dd713b3fbd6fa9a15214d24 (diff) |
From Pieter de Boer:
tshark can read a HP-UX nettl IP packet dump (written with 'nettl -traceon all
-entity ns_ls_ip -file dump'), but cannot convert it to a pcap raw IP packet
dump, with 'tshark -r dump.nettl -w dump.pcap'. A single-line patch to
wiretap/libpcap.c makes it possible to do this.
The input file uses encapsulation type WTAP_ENCAP_NETTL_RAW_IP.
svn path=/trunk/; revision=22849
Diffstat (limited to 'wiretap/libpcap.c')
-rw-r--r-- | wiretap/libpcap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wiretap/libpcap.c b/wiretap/libpcap.c index eced02cf8d..f7ef6f881f 100644 --- a/wiretap/libpcap.c +++ b/wiretap/libpcap.c @@ -612,6 +612,7 @@ static const struct { { 1, WTAP_ENCAP_NETTL_ETHERNET }, { 6, WTAP_ENCAP_NETTL_TOKEN_RING }, { 10, WTAP_ENCAP_NETTL_FDDI }, + { 70, WTAP_ENCAP_RAW_IP }, { 101, WTAP_ENCAP_NETTL_RAW_IP }, /* |