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
Nathan OBrian
Nebulo
Commits
67f73788
Commit
67f73788
authored
Aug 08, 2019
by
Daniel Wolf
Browse files
Only log dns messages which have a query
parent
6efe2e2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/com/frostnerd/smokescreen/util/proxy/QueryListener.kt
View file @
67f73788
...
...
@@ -61,7 +61,7 @@ class QueryListener(private val context: Context) : QueryListener {
if
(
writeQueriesToLog
)
{
context
.
log
(
"Query from device: $questionMessage"
)
}
if
(
logQueriesToDb
)
{
if
(
logQueriesToDb
&&
questionMessage
.
questions
.
size
!=
0
)
{
val
query
=
DnsQuery
(
type
=
questionMessage
.
question
.
type
,
name
=
questionMessage
.
question
.
name
.
toString
(),
...
...
Write
Preview
Markdown
is supported
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