Wireshark-commits: [Wireshark-commits] master d8ac73c: Dumpcap: Adjust pcapng headers when we write
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d8ac73ce30625f02e205fde80a603c200882bf53
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
d8ac73c by Gerald Combs (gerald@xxxxxxxxxxxxx):
Dumpcap: Adjust pcapng headers when we write them.
When we capture from multiple interfaces, we won't necessarily write our
IDBs in the same order we read them. This means that we need to call
pcapng_adjust_block when we write packets, not when we read them.
Otherwise we might map a given capture source's local interface number
to the wrong global IDB entry.
Bug: 15311
Change-Id: Ia787d7f167dcd18d432020a715e2321f4060b851
Reviewed-on: https://code.wireshark.org/review/30798
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from 0b9810a Add a "No Reassembly" profile.
add d8ac73c Dumpcap: Adjust pcapng headers when we write them.
Summary of changes:
dumpcap.c | 56 +++++++++++++++++++++++++-------------------------------
1 file changed, 25 insertions(+), 31 deletions(-)