SLOF/clients
Thomas Huth caf8309249 net-snk: Remove junk at the end of IPv6 TFTP ACK and error packets
While looking at the network traffic from SLOF with Wireshark, I
noticed that there are some junk bytes at the end of TFTP ACK
packets. The problem is that send_ack() adds sizeof(struct ethhdr)
to the length of the packet that it wants to transmit. But adding
the sizeof(struct ethhdr) to the length of the packet is done
within send_ipv6() already, so this value got added twice.
Removing it from send_ack() fixes this issue - the packets then
look fine in Wireshark again.
send_error() apparently suffers from the same issue, so let's
also remove the sizeof(struct ethhdr) from that function.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2016-01-14 11:25:44 +11:00
..
net-snk net-snk: Remove junk at the end of IPv6 TFTP ACK and error packets 2016-01-14 11:25:44 +11:00
takeover qemu/js2x/client: Support binutils >= 2.25.1 2015-11-03 12:00:22 +11:00
.gitignore Update .gitignore files 2012-10-17 16:30:58 +11:00
Makefile Initial import of slof-JX-1.7.0-4 2010-12-01 09:51:44 +11:00
clients.mk Initial import of slof-JX-1.7.0-4 2010-12-01 09:51:44 +11:00