Fix terminal output for multiple ports per service

This commit is contained in:
Přemysl Eric Janouch 2014-09-21 02:50:31 +02:00
parent 6542353dae
commit d18224cc65
1 changed files with 2 additions and 0 deletions

View File

@ -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));