busybox/networking/udhcp
Denys Vlasenko 9ac5596a51 udhcpc: emit "correct" secs field
In theory, sending secs set to constant zero should be ok too.
But some bleeping servers can actually be configured to answer ONLY
if secs is bigger than a preset value (!!)
http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man8/bootpd.8.html
grep for "reply_threshold_seconds"

function                                             old     new   delta
udhcpc_main                                         2573    2623     +50

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-03-12 05:37:54 +01:00
..
arpping.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
common.c udhcpc: fix a problem with binary-encoded options 2011-02-06 18:00:58 +01:00
common.h dhcp: typo fix: UPD_DHCP_SIZE -> UDP_DHCP_SIZE 2010-10-20 18:04:36 +02:00
Config.src Replace "depends on PLATFORM_LINUX" with "select PLATFORM_LINUX" 2011-02-26 22:24:08 +01:00
dhcpc.c udhcpc: emit "correct" secs field 2011-03-12 05:37:54 +01:00
dhcpc.h udhcpc: emit "correct" secs field 2011-03-12 05:37:54 +01:00
dhcpd.c dhcpd: reply with NAK to clients in INIT-REBOOT state w/o existing lease 2010-11-28 21:51:44 +01:00
dhcpd.h *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
dhcprelay.c remove a few aliasing warnings 2011-01-16 01:25:34 +01:00
domain_codec.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
dumpleases.c libbb unicode: comment out usused function and unused parameter 2011-01-11 13:08:28 +01:00
files.c *: deinline SWAP_xE64 on 32-bit CPUs. Wins !90 bytes both on 32 and 64 bits 2010-10-18 11:40:26 +02:00
Kbuild.src *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
leases.c udhcpd: optional IP selection based on MAC hash 2011-02-16 13:31:30 +01:00
packet.c dhcp: typo fix: UPD_DHCP_SIZE -> UDP_DHCP_SIZE 2010-10-20 18:04:36 +02:00
signalpipe.c udhcp: cosmetic cleanups; one case of s/full_read/xread/ 2010-03-26 10:09:34 +01:00
socket.c eliminate aliasing warnings in traceroute.c and udhcp/socket.c 2011-01-20 12:13:23 +01:00
static_leases.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00