Commit dbaed52b authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Format the IPv6 target as well

parent d30ca2b8
Pipeline #5867 passed with stage
in 3 minutes and 7 seconds
......@@ -205,7 +205,8 @@ class RuleExportService : IntentService("RuleExportService") {
append(rule.host)
append(System.lineSeparator())
if (rule.ipv6Target != null) {
append(rule.ipv6Target)
if(rule.isWildcard) append(rule.ipv6Target.replace("%%", "**").replace("%", "*"))
else append(rule.ipv6Target)
append(" ")
append(rule.host)
append(System.lineSeparator())
......
Supports Markdown
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