]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39991: uuid._netstat_getnode() ignores IPv6 addresses (GH-19043)
authorVictor Stinner <vstinner@python.org>
Tue, 17 Mar 2020 14:51:42 +0000 (15:51 +0100)
committerGitHub <noreply@github.com>
Tue, 17 Mar 2020 14:51:42 +0000 (15:51 +0100)
commiteb886db1e99a15f15a2342aa496197a5f88fa9c8
treec08db3a179900c44054a09986cccc10e92ccdb57
parenta45b695b9fcfbbb0a087222abc5c8d691a7d2770
bpo-39991: uuid._netstat_getnode() ignores IPv6 addresses (GH-19043)

uuid.getnode() now skips IPv6 addresses with the same string length
than a MAC address (17 characters): only use MAC addresses.
Lib/test/test_uuid.py
Lib/uuid.py
Misc/NEWS.d/next/Library/2020-03-17-12-40-38.bpo-39991.hLPPs4.rst [new file with mode: 0644]