zephyr/subsys
Patrik Flykt 91ca8aabc8 net/ip/dhcpv4: Set source IP address in DHCP Request
The source address in unicast DHCPv4 Request packets was found out
to be all zeros address 0.0.0.0. This address is only acceptable if
the destination is a multicast one, where the host in question is
acquiring a DHCP address lease. This is true for the DHCP Discover
and the initial DHCP Request message from the client towards the
server. As subsequent DHCP Request renewal messages are sent as
unicast to the server, the server will drop such packets.

Fix this issue by explicitely specifying what source IP address is
to be used, if none is specified, the all zeros address 0.0.0.0 is
used in multicast addresses. The source address in the other
unicast cases is identical to the 'ciaddr' in the DHCP message.

Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
2019-04-17 10:35:38 -05:00
..
bluetooth Bluetooth: Mesh: AES-CCM: Fix output MIC with additional data 2019-04-17 10:08:03 +03:00
console net: telnet: remove obsolete code 2019-04-07 10:26:27 -04:00
cpp license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
debug license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
dfu license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
disk license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
fb license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
fs license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
jwt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
logging logging: Fix RTT backend drop mode and coverity issue 2019-04-12 08:38:16 -04:00
mgmt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
net net/ip/dhcpv4: Set source IP address in DHCP Request 2019-04-17 10:35:38 -05:00
power license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
random license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
settings license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
shell shell: telnet: Fix coverity issues 2019-04-12 08:35:19 -04:00
stats license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
storage license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
testsuite tests: use correct kconfig in help message 2019-04-07 10:26:27 -04:00
usb usb: dfu: set bwPollTimeout dynamically 2019-04-16 08:55:51 -04:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig userspace: remove APP_SHARED_MEM Kconfig 2019-02-23 07:43:55 -05:00