[DRBD-cvs] svn commit by phil - r2572 - trunk/user - Also the
previous state command displayed not only the
drbd-cvs at lists.linbit.com
drbd-cvs at lists.linbit.com
Wed Oct 25 13:50:55 CEST 2006
Author: phil
Date: 2006-10-25 13:50:54 +0200 (Wed, 25 Oct 2006)
New Revision: 2572
Modified:
trunk/user/drbdsetup.c
Log:
Also the previous state command displayed not only the local hosts role,
but the peer's role as well.
Modified: trunk/user/drbdsetup.c
===================================================================
--- trunk/user/drbdsetup.c 2006-10-25 10:20:29 UTC (rev 2571)
+++ trunk/user/drbdsetup.c 2006-10-25 11:50:54 UTC (rev 2572)
@@ -1050,7 +1050,7 @@
{
drbd_state_t state;
consume_tag_int(T_state_i,rtl,(int*)&state.i);
- printf("%s\n",roles_to_name(state.role));
+ printf("%s/%s\n",roles_to_name(state.role),roles_to_name(state.peer));
return 0;
}
More information about the drbd-cvs
mailing list