From: "Fabio M. Di Nitto" <fdinitto@xxxxxxxxxx> Signed-off-by: Fabio M. Di Nitto <fdinitto@xxxxxxxxxx> --- tools/corosync-quorumtool.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/tools/corosync-quorumtool.c b/tools/corosync-quorumtool.c index f413402..33f9e3e 100644 --- a/tools/corosync-quorumtool.c +++ b/tools/corosync-quorumtool.c @@ -405,7 +405,11 @@ static void display_nodes_data(nodeid_format_t nodeid_format, name_format_t name print_string_padded("NR"); } } - printf("%s\n", node_name(g_view_list[i], name_format)); + printf("%s", node_name(g_view_list[i], name_format)); + if (g_view_list[i] == our_nodeid) { + printf(" (local)"); + } + printf("\n"); } if (g_view_list_entries) { -- 1.7.7.6 _______________________________________________ discuss mailing list discuss@xxxxxxxxxxxx http://lists.corosync.org/mailman/listinfo/discuss