Show More
@@ -268,12 +268,7 b' def create_server(ui, repo):' | |||
|
268 | 268 | |
|
269 | 269 | self.addr, self.port = self.socket.getsockname()[0:2] |
|
270 | 270 | self.prefix = prefix |
|
271 | ||
|
272 | 271 | self.fqaddr = socket.getfqdn(address) |
|
273 | try: | |
|
274 | socket.getaddrbyhost(self.fqaddr) | |
|
275 | except: | |
|
276 | fqaddr = address | |
|
277 | 272 | |
|
278 | 273 | class IPv6HTTPServer(MercurialHTTPServer): |
|
279 | 274 | address_family = getattr(socket, 'AF_INET6', None) |
General Comments 0
You need to be logged in to leave comments.
Login now