Wireshark-commits: [Wireshark-commits] master-3.0 3d97412: Flip MAC and IP addresses, and TCP/UDP/S

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 11 Mar 2019 00:58:31 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3d97412ff0f4a70d58efcb9953c58a545079f40a
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark

Commits:

3d97412 by Guy Harris (guy@xxxxxxxxxxxx):

    Flip MAC and IP addresses, and TCP/UDP/SCTP ports, for outgoing packets.
    
    If we have direction indications, flip the source and destination for
    outgoing packets.
    
    Also, generate sequence numbers for TCP.
    
    Code lifted from text2pcap.
    
    Bug: 15561
    Change-Id: I869c45e88bf635f3277dbeeb08aff88dbfc8edef
    Reviewed-on: https://code.wireshark.org/review/32383
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit adf0f8f1643bbf3482df759caa9db97e102b20be)
    Reviewed-on: https://code.wireshark.org/review/32384
    

Actions performed:

    from  2a88b4e   GSM A RR: fix Frequency List Variable Bitmap IE dissection
     add  3d97412   Flip MAC and IP addresses, and TCP/UDP/SCTP ports, for outgoing packets.


Summary of changes:
 ui/text_import.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 61 insertions(+), 11 deletions(-)