1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-29 16:55:32 +00:00

Fix internal server on FreeBSD

This commit is contained in:
Unrud 2020-08-18 22:43:59 +02:00
parent 955807d797
commit f9bd89c92a
2 changed files with 8 additions and 4 deletions

View file

@ -240,7 +240,9 @@ def serve(configuration, shutdown_socket):
# IPV6_V6ONLY set
e.errno == errno.EADDRNOTAVAIL or
# Address family not supported
e.errno == errno.EAFNOSUPPORT)):
e.errno == errno.EAFNOSUPPORT or
# Protocol not supported
e.errno == errno.EPROTONOSUPPORT)):
continue
raise RuntimeError("Failed to start server %r: %s" % (
format_address(address), e)) from e