mirror of
https://github.com/obgm/libcoap.git
synced 2026-10-27 05:01:23 +03:00
Packets from the same peer can overwrite a session's local address with a multicast destination. Save the address when an observation is created or renewed and restore it before generating notifications, so deferred responses snapshot the correct address instead of being dropped as invalid multicast. Add regression coverage for CON and NON observations, including renewals and the local address captured by a notification's async response. Validation: 215 unit tests passed (1712 assertions).