1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-22 02:17:26 +00:00

bug in new secondary nameservers

forgot a 'continue' statement
see 216acb0eeb
fixes #497
This commit is contained in:
Joshua Tauberer 2015-07-20 11:25:16 +00:00
parent e54608c282
commit d3bbc0ec95

View File

@ -799,6 +799,7 @@ def get_secondary_dns(custom_dns, mode=None):
if mode == None: if mode == None:
# Just return the setting. # Just return the setting.
values.append(hostname) values.append(hostname)
continue
# This is a hostname. Before including in zone xfr lines, # This is a hostname. Before including in zone xfr lines,
# resolve to an IP address. Otherwise just return the hostname. # resolve to an IP address. Otherwise just return the hostname.