Wireshark-commits: [Wireshark-commits] master-1.10 b921379: Pass the caplen from the struct wtap_pk
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 10 Feb 2014 19:40:55 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b921379e087e4fa5a4e9894ee21ae15af6305bb9
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark

Commits:

b921379 by Guy Harris (guy@xxxxxxxxxxxx):

      Pass the caplen from the struct wtap_pkthdr to pcap_read_post_process().
      
      That makes it clearer what the argument should be and, in the case of an
      SPB, passes the correct length (the length *after* any pseudo-header we
      convert to a union wtap_pseudo_header and remove from the raw packet
      data we hand to our caller).
      
      Change-Id: Ia360cd7c971ae1e1635bdef8f7e17a8d9e2495f8
      Reviewed-on: https://code.wireshark.org/review/134
      Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
      

Actions performed:

      from  6ed5bab   Introduce end-of-line normalization
      adds  b921379   Pass the caplen from the struct wtap_pkthdr to pcap_read_post_process().


Summary of changes:
 wiretap/pcapng.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)