Files
libcoap/src
Olaf Bergmann a5b61409a5 coap_io.c: set local address after bind for new endpoint
This fixes a bug reported by Daniel Petrie:

"When the coap-client is used and a local address to bind to is
specified, but the local port is not specified, I get errors for the
response coming in from an unexpected interface and the response is
dropped/ignored."

The solution here is to call getsockname() after successful bind()
in coap_new_endpoint() to set ep->addr to the actual transport
address being used.
2015-10-27 13:05:03 +01:00
..
2015-03-03 22:03:37 +01:00
2015-10-01 19:27:50 +02:00