summaryrefslogtreecommitdiffstats
path: root/Lib/struct.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-11-29 22:12:57 (GMT)
committerGitHub <noreply@github.com>2022-11-29 22:12:57 (GMT)
commit8dafefcace5d30aa6bb319bf3f0723864d94201c (patch)
tree91f4fb982f22b03178571bbc20180c6a518772ba /Lib/struct.py
parentd7c2e0a537f5e01564ebb06aa5db61e701ef7176 (diff)
downloadcpython-8dafefcace5d30aa6bb319bf3f0723864d94201c.zip
cpython-8dafefcace5d30aa6bb319bf3f0723864d94201c.tar.gz
cpython-8dafefcace5d30aa6bb319bf3f0723864d94201c.tar.bz2
gh-82836: fix private network check (GH-97733)
Fixes private checks for network objects. The previous method would incorrectly return True for a private check in cases such as "0.0.0.0/0". (cherry picked from commit ed391090cc8332406e6225d40877db6ff44a7104) Co-authored-by: Pete Wicken <2273100+JamoBox@users.noreply.github.com>
Diffstat (limited to 'Lib/struct.py')
0 files changed, 0 insertions, 0 deletions