zephyr/subsys/net/lib
Robert Lubos 38adddac00 net: lwm2m: Reinitialize address length before recvfrom is called
`addrlen` parameter is updated on each `recvfrom` call, indicating the
actual address length returned. In case both, IPv4 and IPv6 are used on
different sockets (i. e. on regular LWM2M socket and FOTA socket), the
returned address length will differ.

In case `from_addr_len` is not reinitialized on each iteration, the
value stored in the `from_addr_len` variable will eventually indicate
the smaller IPv4 address size, therefore resulting in a failure in a
consecutive call on an IPv6 socket.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2020-07-14 13:04:37 +02:00
..
coap net: coap: Parse zero-length option correctly 2020-06-15 22:13:34 +03:00
config net: config: fix timeout 0 blocking start-up 2020-06-16 19:10:25 +02:00
conn_mgr zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
dns random: Include header where it is used 2020-07-08 21:05:36 -04:00
http net: http: client: Add port number to HTTP Header 2020-06-15 16:59:20 +02:00
lwm2m net: lwm2m: Reinitialize address length before recvfrom is called 2020-07-14 13:04:37 +02:00
mqtt net: mqtt: Make client "cleansession" flag configurable. 2020-06-09 10:09:04 +03:00
openthread random: Include header where it is used 2020-07-08 21:05:36 -04:00
sntp zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sockets random: Include header where it is used 2020-07-08 21:05:36 -04:00
socks zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
tftp zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
tls_credentials kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
utils include: net: socketutils: Allow to build for CONFIG_POSIX_API 2019-09-12 17:30:29 +03:00
websocket random: Include header where it is used 2020-07-08 21:05:36 -04:00
CMakeLists.txt net: tftp: Adding support for TFTP Client. 2020-04-30 14:19:46 +03:00
Kconfig net: tftp: Adding support for TFTP Client. 2020-04-30 14:19:46 +03:00