diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2016-02-18 12:27:07 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-03-03 02:05:53 +0100 |
commit | abe8f7515aded80889d78c2c1c8947997918cf90 (patch) | |
tree | c3d52bc87c0cae0725796e73bee0d83038d6a0c0 /networking/interface.c | |
parent | ea2b71be66b7500cc3ddaa0f617491610ff07dc4 (diff) | |
download | busybox-abe8f7515aded80889d78c2c1c8947997918cf90.tar.gz |
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>
Diffstat (limited to 'networking/interface.c')
0 files changed, 0 insertions, 0 deletions