Wireshark-commits: [Wireshark-commits] master-3.0 746a249: pcapng: pull the interface ID handling i
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=746a249380bb24c5d7eab04a28b25241a10bf473
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark
Commits:
746a249 by Guy Harris (guy@xxxxxxxxxxxx):
pcapng: pull the interface ID handling into a single routine.
Have a routine that takes an interface ID as an argument and:
if it's within range, fetches the interface description and
returns a pointer to it;
if it's not within range, adds an expert info and returns NULL;
and have the code to dissect blocks with interface IDs just call it.
Change-Id: I705fe94a9a5fb5a27650465f3c55e0dc1b6fbd23
Reviewed-on: https://code.wireshark.org/review/37090
Petri-Dish: Guy Harris <gharris@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
(cherry picked from commit f3ddcb96a369472cde3c83f26ff747d5772b8e3a)
Reviewed-on: https://code.wireshark.org/review/37110
Actions performed:
from e2d48d5 pcapng: fix more interface ID checks.
add 746a249 pcapng: pull the interface ID handling into a single routine.
Summary of changes:
epan/dissectors/file-pcapng.c | 77 ++++++++++++++++++++++++-------------------
1 file changed, 44 insertions(+), 33 deletions(-)