summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/server_id.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/util/server_id.c b/lib/util/server_id.c
index d41fb0b287..722230354c 100644
--- a/lib/util/server_id.c
+++ b/lib/util/server_id.c
@@ -52,6 +52,11 @@ char *server_id_str(TALLOC_CTX *mem_ctx, const struct server_id *id)
"%llu.%u",
(unsigned long long)id->pid,
(unsigned)id->task_id);
+ } else if (id->task_id == 0) {
+ return talloc_asprintf(mem_ctx,
+ "%u:%llu",
+ (unsigned)id->vnn,
+ (unsigned long long)id->pid);
} else {
return talloc_asprintf(mem_ctx,
"%u:%llu.%u",