URL: 
https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=58e8049a732d11134fb062a55fa02721597362d3
Submitter: "Guy Harris <ghar...@sonic.net>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

58e8049 by Guy Harris (g...@alum.mit.edu):

    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 <ghar...@sonic.net>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <ghar...@sonic.net>
    (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(-)
___________________________________________________________________________
Sent via:    Wireshark-commits mailing list <wireshark-commits@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-commits
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-commits
             mailto:wireshark-commits-requ...@wireshark.org?subject=unsubscribe

Reply via email to