mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
show the second column in the machinereadable output for ctdb status as
IP (This used to be ctdb commit 9ee38e8cfc4b602f6769549a83a1302138e055a1)
This commit is contained in:
parent
a3e4e204dc
commit
8a53a6aa29
@ -290,7 +290,7 @@ static int control_status(struct ctdb_context *ctdb, int argc, const char **argv
|
||||
}
|
||||
|
||||
if(options.machinereadable){
|
||||
printf(":Node:Status:\n");
|
||||
printf(":Node:IP:Status:\n");
|
||||
for(i=0;i<nodemap->num;i++){
|
||||
printf(":%d:%s:%d:\n", nodemap->nodes[i].vnn,
|
||||
inet_ntoa(nodemap->nodes[i].sin.sin_addr),
|
||||
|
Loading…
x
Reference in New Issue
Block a user