Wireshark-commits: [Wireshark-commits] master 6c19f98: text2pcap: Fix TCP, UDP or SCTP headers over

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 11 Oct 2018 14:01:53 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6c19f98393aa20d6ab56b0afa563084e573c4728
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

6c19f98 by Vasil Velichkov (vvvelichkov@xxxxxxxxx):

    text2pcap: Fix TCP, UDP or SCTP headers over IPv6
    
    When the IPv6 (-6) option was specified together with either TCP (-T),
    UDP (-u) or SCTP (-s/-S) option the generated packet was invalid because
    an IPv4 option was implied an a wrong header was added.
    
    Bug: 15194
    Change-Id: I5a7b83d8aa3f3ad56f0c8110e598090945e60225
    Reviewed-on: https://code.wireshark.org/review/30107
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  19153cf   wsutil: Add config_file_exists_with_entries()
     add  6c19f98   text2pcap: Fix TCP, UDP or SCTP headers over IPv6


Summary of changes:
 test/suite_text2pcap.py | 131 +++++++++++++++++++++++++++++++++++++++++++++++-
 text2pcap.c             |  14 ++++--
 2 files changed, 140 insertions(+), 5 deletions(-)