[BusyBox] busybox 1.00-pre8 & DHCP Patch
Andrew Victor
andrew at sanpeople.com
Thu Feb 26 11:53:57 UTC 2004
hi,
Another two DHCP patches for busybox-1.00-pre8:
1) Small typo in libbb_udhcp.h - DEFUALT_SCRIPT instead of
DEFAULT_SCRIPT.
2) 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).
Regards,
Andrew Victor
SAN People (Pty) Ltd.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.00-pre8.dhcp
Type: text/x-patch
Size: 455 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20040226/36ec199e/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.00-pre8.dhcpd
Type: text/x-patch
Size: 1949 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20040226/36ec199e/attachment-0001.bin
More information about the busybox
mailing list