diff --git a/doc/changelog.txt b/doc/changelog.txt index 5e0d8d54..d4e9dfca 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -6,6 +6,8 @@ Fixes: - logging: Enforce encoding error policy when writing to stdout. - checking: Prevent error message from Geoip by using the correct API function when no city database is installed. +- checking: Properly detect case where IPv6 is not supported. + Closes: SF bug #3167249 6.2 "Despicable Me" (released 6.1.2011) diff --git a/linkcheck/socketutil.py b/linkcheck/socketutil.py index 1a5b880b..04864b3f 100644 --- a/linkcheck/socketutil.py +++ b/linkcheck/socketutil.py @@ -30,7 +30,8 @@ if socket.has_ipv6: # only catch these one: # socket.error: (97, 'Address family not supported by protocol') # socket.error: (10047, 'Address family not supported by protocol') - if msg.args[0] not in (97, 10047): + # socket.error: (43, 'Protocol not supported') + if msg.args[0] not in (97, 10047, 43): raise