diff options
author | Michael Tüxen <tuexen@fh-muenster.de> | 2009-06-27 11:39:47 +0000 |
---|---|---|
committer | Michael Tüxen <tuexen@fh-muenster.de> | 2009-06-27 11:39:47 +0000 |
commit | 267df8e183e9ed9e56750b4674cc38afd8a7efc3 (patch) | |
tree | 56251fa022928d24f19cd71dbcdb327e83251ac5 /wiretap/pcap-common.h | |
parent | e4fea1939cd608cc09eff9406a2225a227ea30c3 (diff) |
This commit
* adds an encap argument to pcap_process_pseudo_header.
* adds support for reading pseudo headers.
It fixes Bug 3560.
Thanks to Tyson Key for reporting the bug and providing
trace files. This fix will be scheduled for inclusion in
Wireshark 1.2.1 and higher.
svn path=/trunk/; revision=28857
Diffstat (limited to 'wiretap/pcap-common.h')
-rw-r--r-- | wiretap/pcap-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/pcap-common.h b/wiretap/pcap-common.h index a0a7da91d9..c8f1944ca9 100644 --- a/wiretap/pcap-common.h +++ b/wiretap/pcap-common.h @@ -26,7 +26,7 @@ extern int wtap_wtap_encap_to_pcap_encap(int encap); -extern int pcap_process_pseudo_header(wtap *wth, FILE_T fh, guint packet_size, +extern int pcap_process_pseudo_header(wtap *wth, int encap, FILE_T fh, guint packet_size, gboolean check_packet_size, struct wtap_pkthdr *phdr, union wtap_pseudo_header *pseudo_header, int *err, gchar **err_info); |