URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6022ea716bf94ac3cd58f00434ccd699b3b3a40a
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
6022ea7 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>
Actions performed:
from fd7ff69 Ask in a comment whether we should test HAVE_STRUCT_STAT_ST_BLKSIZE.
add 6022ea7 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(-)