cluster: RHEL61 - Revert "cman: fix ttl default if no value is specified"

Fabio M. Di Nitto fabbione at fedoraproject.org
Mon Jul 11 07:23:52 UTC 2011


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=0d6ddfe6af6673e49e8bf3b6dc4d176844ffddd3
Commit:        0d6ddfe6af6673e49e8bf3b6dc4d176844ffddd3
Parent:        39e0d5eb41f88b329f8d6cac44f95ab02f620b1d
Author:        Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate:    Mon Jul 11 09:23:26 2011 +0200
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Mon Jul 11 09:23:26 2011 +0200

Revert "cman: fix ttl default if no value is specified"

This reverts commit 39e0d5eb41f88b329f8d6cac44f95ab02f620b1d.
---
 cman/daemon/cman-preconfig.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cman/daemon/cman-preconfig.c b/cman/daemon/cman-preconfig.c
index cde130b..5a73fb3 100644
--- a/cman/daemon/cman-preconfig.c
+++ b/cman/daemon/cman-preconfig.c
@@ -691,7 +691,7 @@ static int get_nodename(struct objdb_iface_ver0 *objdb)
 			if (objdb->object_find_next(find_handle2, &mcast_handle) == 0) {
 
 				objdb_get_string(objdb, mcast_handle, "addr", &mcast_name);
-				objdb_get_int(objdb, mcast_handle, "ttl", &ttl, ttl);
+				objdb_get_int(objdb, mcast_handle, "ttl", &ttl, 0);
 			}
 			objdb->object_find_destroy(find_handle2);
 		}


More information about the cluster-commits mailing list