Wireshark-commits: [Wireshark-commits] master-1.12 f1dc4dc: pcapng: make SPB cap_len the same as pa
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f1dc4dcde317700c07e57d6fcdf14ca3fb2756af
Submitter: Hadriel Kaplan (hadrielk@xxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark
Commits:
f1dc4dc by Hadriel Kaplan (hadrielk@xxxxxxxxx):
pcapng: make SPB cap_len the same as packet_len if IDB snaplen is 0
An IDB snaplen of 0 means no limit, so a Simple Packet Block's capture
length should be the same as its encoded packet length in such a case.
Bug: 11483
Change-Id: I8856d6c6a669a0048ea64b3adbd23c37a598431d
Reviewed-on: https://code.wireshark.org/review/10303
Petri-Dish: Hadriel Kaplan <hadrielk@xxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Hadriel Kaplan <hadrielk@xxxxxxxxx>
(cherry picked from commit 9158176b7f9a95f2ea701290a39ed53dc70bf834)
Reviewed-on: https://code.wireshark.org/review/10305
Actions performed:
from 98320bb Get rid of unused variable.
adds f1dc4dc pcapng: make SPB cap_len the same as packet_len if IDB snaplen is 0
Summary of changes:
wiretap/pcapng.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)