aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ponymap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ponymap.c b/ponymap.c
index 6b8155c..a4cae9f 100644
--- a/ponymap.c
+++ b/ponymap.c
@@ -1356,6 +1356,8 @@ target_dump_terminal (struct target *self, struct target_dump_data *data)
u->service->name, u->transport->name));
s_tail = &service->next;
p_tail = &service->children;
+
+ last_service = u->service;
}
port = *p_tail = node_new (xstrdup_printf ("port %" PRIu16, u->port));