Small bug

This commit is contained in:
Ian Southam 2014-11-27 15:14:07 +01:00 committed by wilderrodrigues
parent 84624091fd
commit ec09f04b88

View File

@ -110,7 +110,7 @@ class CsDnsMasq(object):
self.updated = self.updated | CsHelper.addifmissing(CLOUD_CONF, line)
# Next add the domain
# if this is a guest network get it there otherwise use the value in resolv.conf
gn = CsGuestNetwork(device, self.cl)
gn = CsGuestNetwork(device, self.config)
line = "dhcp-option=tag:interface-%s,15,%s" % (device, gn.get_domain())
self.updated = self.updated | CsHelper.addifmissing(CLOUD_CONF, line)
if self.updated: