Commit 4fd8ebcd authored by Andreas Jung's avatar Andreas Jung

      - Collector #1507: Zope now binds again to all available IP addresses if
        ip-address is unset
parent 07348414
......@@ -57,6 +57,9 @@ Zope Changes
text/<foo> types
Bugs fixed
- Collector #1507: Zope now binds again to all available IP addresses if
ip-address is unset
- Use 'del' instead of 'list.remove()' in
Catalog.delColumn(). There can be only one column with the
......
......@@ -41,7 +41,6 @@ def get_default_host_info():
if os.name == 'posix' and 'localhost' in hostname.lower():
hostname = ''
_default_host_info = hostname, ip
return _default_host_info
......@@ -59,6 +58,9 @@ class ServerFactory:
if defaulthost:
hostname = defaulthost
ip = socket.gethostbyname(hostname)
elif defaulthost is '':
hostname = ''
ip = '127.0.0.1'
else:
hostname, ip = get_default_host_info()
if not self.host:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment