Commit a06488ec authored by Pavel Emelyanov's avatar Pavel Emelyanov

show: Fix inet6 addresses showing

Was broken by d57be38c -- this one pretty show does return 1.
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent 9c88d34c
......@@ -364,7 +364,8 @@ static void pb_show_repeated(const ProtobufCFieldDescriptor *fd,
for (i = 0; i < nr_fields; i++) {
if (i)
pr_msg(":");
sh->show(field);
if (sh->show(field))
break;
field->data += sh->fsize;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment