diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2014-09-21 02:50:31 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-09-21 03:29:36 +0200 |
commit | d18224cc657abb18fbaad2bddd3a3c9bbe937ae1 (patch) | |
tree | 2c2e48f16c36a771991ea0132d51bc183631848f /ponymap.c | |
parent | 6542353daeb2d542044b7a241fdb400a930d768b (diff) | |
download | ponymap-d18224cc657abb18fbaad2bddd3a3c9bbe937ae1.tar.gz ponymap-d18224cc657abb18fbaad2bddd3a3c9bbe937ae1.tar.xz ponymap-d18224cc657abb18fbaad2bddd3a3c9bbe937ae1.zip |
Fix terminal output for multiple ports per service
Diffstat (limited to 'ponymap.c')
-rw-r--r-- | ponymap.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)); |