URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=802d4c0121bff6ce0cb38dd15e20fa3238da183a
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
802d4c0 by Jaap Keuter (jaap.keuter@xxxxxxxxx):
text2pcap: make ethernet dummy header direction aware
When giving the command line option '-D' and having 'I' and 'O' markers in
the hexdump to import the IP addresses are adjusted, transport layer ports
are adjusted, the TCP window information is adjusted, but still the frames
originate from the same interface and go to the other interface.
This changes makes it so that the Ethernet destination and source address
is also adjusted with the direction indicated, to match the other adjusted
addressing used.
Bug: 15287
Change-Id: I762f195ece206ed14e6bca1c1160055df7c4dac1
Signed-off-by: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Reviewed-on: https://code.wireshark.org/review/30767
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from d45adf3 systemd Journal: More UTF-8 fixes.
add 802d4c0 text2pcap: make ethernet dummy header direction aware
Summary of changes:
text2pcap.c | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)