Wireshark-commits: [Wireshark-commits] master-2.6 58e8049: pcapng: pull the interface ID handling i
      
      
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=58e8049a732d11134fb062a55fa02721597362d3
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark
Commits:
58e8049 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/37120
    
Actions performed:
    from  f806b00   Add additional checks, clean up some stuff.
     add  58e8049   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(-)