This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cluster: master - fenced: log protocol message type


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=9e0798f08276d65bb62dbfa4051ad38df736ca47
Commit:        9e0798f08276d65bb62dbfa4051ad38df736ca47
Parent:        0b2042619d813845f6af059d65f7fb1af106265d
Author:        David Teigland <teigland@redhat.com>
AuthorDate:    Mon Nov 24 14:10:32 2008 -0600
Committer:     David Teigland <teigland@redhat.com>
CommitterDate: Mon Nov 24 16:20:02 2008 -0600

fenced: log protocol message type

in debug logs instead of "unknown".

Signed-off-by: David Teigland <teigland@redhat.com>
---
 fence/fenced/cpg.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fence/fenced/cpg.c b/fence/fenced/cpg.c
index fc9e06a..ead60dd 100644
--- a/fence/fenced/cpg.c
+++ b/fence/fenced/cpg.c
@@ -110,6 +110,8 @@ static void ids_in(struct fd_info *fi, struct id_info *ids)
 static char *msg_name(int type)
 {
 	switch (type) {
+	case FD_MSG_PROTOCOL:
+		return "protocol";
 	case FD_MSG_START:
 		return "start";
 	case FD_MSG_VICTIM_DONE:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]