Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
PublicAndroidApps
Nebulo
Commits
dbaed52b
Commit
dbaed52b
authored
Nov 20, 2019
by
Daniel Wolf
Browse files
Format the IPv6 target as well
parent
d30ca2b8
Pipeline
#5867
passed with stage
in 3 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/com/frostnerd/smokescreen/service/RuleExportService.kt
View file @
dbaed52b
...
...
@@ -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
())
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment