diff options
| author | Jared Hancock <jared.hancock@centeredsolutions.com> | 2025-01-19 15:37:55 -0600 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-01-29 10:49:34 +1100 |
| commit | f29bd5a65e9688222474e54b4f5d0fb127a23db3 (patch) | |
| tree | adb4c5e4cde1c6112b2dc4ca55309bbc61a92930 /py | |
| parent | 03fe9c55ea8a3ef8bede5547476f37d7fca20119 (diff) | |
extmod/modlwip: Fix incorrect peer address for IPv6.
For IPv6 connections, the peer address was previously defined as only the
first four bytes of the IP address. For IPv6 addresses, this resulted in an
incorrect IPv4 address. For instance, receiving a packet via `::recvfrom`
from `'fe80::87:e7ff:fe48:629a'` is returned as having a peer address of
`'254.128.0.0'`
Signed-off-by: Jared Hancock <jared.hancock@centeredsolutions.com>
Diffstat (limited to 'py')
0 files changed, 0 insertions, 0 deletions
