Fix AttributeError

This commit is contained in:
Erik Johnston 2016-01-21 14:02:14 +00:00
parent ed1d189e10
commit c6549117a2

View File

@ -88,7 +88,7 @@ class SRVClientEndpoint(object):
self.service_name = "_%s._%s.%s" % (service, protocol, domain) self.service_name = "_%s._%s.%s" % (service, protocol, domain)
if default_port is not None: if default_port is not None:
self.default_server = self._Server( self.default_server = _Server(
host=domain, host=domain,
port=default_port, port=default_port,
priority=0, priority=0,