Wireshark-commits: [Wireshark-commits] master-1.12 703de80: Call TIMEDEFVn macros in all PACKET_DES

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 1 Mar 2015 03:04:33 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=703de8069ae73d5515eb0762b786f3d16da215d2
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

703de80 by Guy Harris (guy@xxxxxxxxxxxx):

    Call TIMEDEFVn macros in all PACKET_DESCRIBE() macros.
    
    Create TIMEDEFV10() and, for it and for V20, V21, and V22, undefine the
    ones used for the read routine and define dummy ones for the read-seek
    routines (as those record formats have relative, not absolute, times).
    
    Have all of them set presence_flags.
    
    That way:
    
    1) if we *can* set the time stamps in the seek-read routine, we do;
    
    2) we always set presence_flags in read and seek-read routines.
    
    Change-Id: I837507245e8a0cbc68c7c5fd8365f474d085488e
    Reviewed-on: https://code.wireshark.org/review/7445
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 0f3ae32290cd9d81d2c20786639532a7dcbe0be9)
    Reviewed-on: https://code.wireshark.org/review/7446
    

Actions performed:

    from  99a12b9   Fix handling of invalid UAT items
    adds  703de80   Call TIMEDEFVn macros in all PACKET_DESCRIBE() macros.


Summary of changes:
 wiretap/netscaler.c |  116 +++++++++++++++++++++++++++++++--------------------
 1 file changed, 70 insertions(+), 46 deletions(-)