Mercurial > public > mercurial-scm > hg-stable
diff hgext/zeroconf/Zeroconf.py @ 17428:72803c8edaa4
avoid using abbreviations that look like spelling errors
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 27 Aug 2012 23:14:27 +0200 |
parents | 9724f8f8850b |
children | 31f32a96e1e3 |
line wrap: on
line diff
--- a/hgext/zeroconf/Zeroconf.py Tue Aug 21 02:41:20 2012 +0200 +++ b/hgext/zeroconf/Zeroconf.py Mon Aug 27 23:14:27 2012 +0200 @@ -1272,8 +1272,7 @@ self.socket.bind(self.group) except Exception: # Some versions of linux raise an exception even though - # the SO_REUSE* options have been set, so ignore it - # + # SO_REUSEADDR and SO_REUSEPORT have been set, so ignore it pass self.socket.setsockopt(socket.SOL_IP, socket.IP_ADD_MEMBERSHIP, socket.inet_aton(_MDNS_ADDR) + socket.inet_aton('0.0.0.0'))