diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-03-05 14:25:49 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-03-05 14:25:49 +0000 |
commit | 8b39405d9700091c62409f9a1f84f6ac4d1bd5fb (patch) | |
tree | 2d868bbb6059ee64dbf5cd6af9879a33c31562f8 /docs | |
parent | 90012582cb00c9158a0028bb34a8a49665f489cd (diff) | |
download | busybox-w32-8b39405d9700091c62409f9a1f84f6ac4d1bd5fb.tar.gz busybox-w32-8b39405d9700091c62409f9a1f84f6ac4d1bd5fb.tar.bz2 busybox-w32-8b39405d9700091c62409f9a1f84f6ac4d1bd5fb.zip |
Patch by Andrew Victor,
In arpping.h, fix structure alignment of "struct arpMsg".
GCC can insert padding in the structure which causes udhcpd to send an
invalid ARP packet on the network. It will then not receive a valid
reply, which can cause it to assign an IP address that's already in use
on the network.
(With kernels before 2.4.20, the "struct ethhdr" in linux/if_ether.h
wasn't marked as packed. This is also an issue if your toolchain was
built with a pre-2.4.20 kernel).
git-svn-id: svn://busybox.net/trunk/busybox@8580 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions