busybox/networking/udhcp
Hans Dedecker abe8f7515a dhcpc: Use client IP address as source address for DHCP renew/rebind messages
RFC2131 paragraph 4.1 states DHCP messages broadcast by a client prior to
that client obtaining its IP address must have the source IP address
field in the header set to 0.
Request messages transmitted in renewing and rebinding state need to use
the obtained IP address as source IP address in the header; this behavior
lines up with other implementations like ISC dhcp client.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-03-03 02:05:53 +01:00
..
arpping.c udhcpd: add option for tweaking arpping 2014-10-30 11:59:04 +01:00
common.c udhcpc: fix OPTION_6RD parsing (could overflow its malloced buffer) 2016-02-26 15:54:56 +01:00
common.h udhcpd: add option for tweaking arpping 2014-10-30 11:59:04 +01:00
Config.src udhcpc: make hostname sanitization optional. Closes 3979 2014-06-16 00:17:00 +02:00
d6_common.h fix build breakage found by randconfig 2012-04-20 14:48:00 +02:00
d6_dhcpc.c libbb: add a function to make a copy of a region of memory 2015-07-19 23:05:20 +02:00
d6_packet.c udhcpc6: set hop limit to 1 in emitted raw packets 2011-11-07 18:22:06 +01:00
d6_socket.c udhcpc6: new applet. Not yet functional. 2011-11-07 15:55:39 +01:00
dhcpc.c dhcpc: Use client IP address as source address for DHCP renew/rebind messages 2016-03-03 02:05:53 +01:00
dhcpc.h udhcpc6: fix port numbers used if !FEATURE_UDHCP_PORT 2013-01-28 15:25:35 +01:00
dhcpd.c dhcpd: fix an improper widening conversion 2015-01-27 21:59:40 +01:00
dhcpd.h udhcpd: add option for tweaking arpping 2014-10-30 11:59:04 +01:00
dhcprelay.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
domain_codec.c udhcp: trivial shrink 2016-02-26 14:56:18 +01:00
dumpleases.c dumpleases: string reuse 2015-10-24 20:45:10 +02:00
files.c udhcpd: keep expired leases at startup 2016-03-01 19:23:22 +01:00
Kbuild.src *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
leases.c udhcpd: keep expired leases at startup 2016-03-01 19:23:22 +01:00
packet.c udhcpc: make DHCP packets to have at least 300 DHCP bytes 2013-10-28 23:27:37 +01:00
signalpipe.c udhcp: cosmetic cleanups; one case of s/full_read/xread/ 2010-03-26 10:09:34 +01:00
socket.c udhcp[cd]: fix binding to network aliases. Closes 5432, 5438 2012-08-10 00:27:22 +02:00
static_leases.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00