Fix argument passed to LazyFqdn

This commit is contained in:
Olle Lundberg 2013-02-28 12:36:21 +01:00
parent 38767982cd
commit 93dce43e86
1 changed files with 2 additions and 1 deletions

View File

@ -50,6 +50,7 @@ class LazyFqdn(object):
#
# Handle specific option
fqdn = None
address_family = self.config.get('addressfamily', 'any').lower()
if address_family != 'any':
family = socket.AF_INET if address_family == 'inet' else socket.AF_INET6
@ -207,7 +208,7 @@ class SSHConfig (object):
remoteuser = user
host = socket.gethostname().split('.')[0]
fqdn = LazyFqdn(self)
fqdn = LazyFqdn(config)
homedir = os.path.expanduser('~')
replacements = {'controlpath':
[