udhcp: fix oversized packet sending (introduced by "slack for bad dhcp servers" options);
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 20 Dec 2007 21:11:38 +0000 (21:11 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 20 Dec 2007 21:11:38 +0000 (21:11 -0000)
commitfff145dba309df2a6ba2986ad2b690f7e0858cad
treeddd42dcde1f1d52b477c63d2c85e6f1f1f075bda
parentf77f369ce89549ae3b0b70bfbac4e9c242ec5298
udhcp: fix oversized packet sending (introduced by "slack for bad dhcp servers" options);
slight optimizations and function renaming

udhcp_send_raw_packet                                  -     391    +391
udhcp_send_kernel_packet                               -     197    +197
udhcp_recv_packet                                      -     134    +134
get_raw_packet                                       353     326     -27
udhcp_get_packet                                     134       -    -134
udhcp_kernel_packet                                  197       -    -197
udhcp_raw_packet                                     391       -    -391
------------------------------------------------------------------------------
(add/remove: 3/3 grow/shrink: 0/1 up/down: 722/-749)          Total: -27 bytes
networking/udhcp/clientpacket.c
networking/udhcp/common.h
networking/udhcp/dhcpc.c
networking/udhcp/dhcpd.c
networking/udhcp/dhcprelay.c
networking/udhcp/packet.c
networking/udhcp/serverpacket.c