summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-scope.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-02-13 20:45:25 +0100
committerLennart Poettering <lennart@poettering.net>2017-02-13 20:45:25 +0100
commit19fee3ef702ff09cc5ca9531d9e9d985da55aa69 (patch)
tree125c86344a49cb269fb3f213a5991fd725052bc0 /src/resolve/resolved-dns-scope.c
parent1a63fc5430d66ccd72b0dbe3f6709724a811df40 (diff)
resolved: name announce timer event source
Diffstat (limited to 'src/resolve/resolved-dns-scope.c')
-rw-r--r--src/resolve/resolved-dns-scope.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-scope.c b/src/resolve/resolved-dns-scope.c
index cf098b3b03..ac09192c3a 100644
--- a/src/resolve/resolved-dns-scope.c
+++ b/src/resolve/resolved-dns-scope.c
@@ -1121,6 +1121,8 @@ int dns_scope_announce(DnsScope *scope, bool goodbye) {
on_announcement_timeout, scope);
if (r < 0)
return log_debug_errno(r, "Failed to schedule second announcement: %m");
+
+ (void) sd_event_source_set_description(scope->announce_event_source, "mdns-announce");
}
return 0;