aboutsummaryrefslogtreecommitdiff
path: root/src/feature/client/dnsserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature/client/dnsserv.c')
-rw-r--r--src/feature/client/dnsserv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/feature/client/dnsserv.c b/src/feature/client/dnsserv.c
index 67ab20eded..f0bb0af100 100644
--- a/src/feature/client/dnsserv.c
+++ b/src/feature/client/dnsserv.c
@@ -65,6 +65,9 @@ evdns_server_callback(struct evdns_server_request *req, void *data_)
log_info(LD_APP, "Got a new DNS request!");
+ /* Receiving a request on the DNSPort counts as user activity. */
+ note_user_activity(approx_time());
+
req->flags |= 0x80; /* set RA */
/* First, check whether the requesting address matches our SOCKSPolicy. */