Commit 3229ea5d authored by Aleš Mrázek's avatar Aleš Mrázek
Browse files

Merge remote-tracking branch 'origin/master'

parents 8c5649b2 dc35b616
......@@ -248,8 +248,8 @@ class Resolver:
if conf_string is not "":
conf_string += "\n"
#conf_strings.append("policy.add(policy.suffix(policy.STUB('{0}'), {policy.todname('{1}')}))".format(address, zone['domain']))
conf_string += "policy.add(policy.suffix(policy.STUB('{0}'), " \
"{policy.todname('{1}')}))".format(address, zone['domain'])
conf_string += "policy.add(policy.suffix(policy.STUB('"+address+"'), " \
"{policy.todname('"+str(zone['domain'])+"')}))"
return conf_string
......@@ -548,7 +548,7 @@ class Dns64:
@staticmethod
def prefix(prefix: str) -> str:
prefix = sub(ipv6_prefix, '', prefix)
prefix = sub(ipv6_prefix, '', str(prefix))
conf_string = "modules = {dns64 = '" + str(prefix) + "'}"
return conf_string
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment