From 194511a39b3aee3f9afa0d1d4a83d463d2cc7a9b Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Mon, 11 Apr 2005 21:33:33 +0000 Subject: [PATCH] Fix defect 456 when checkpoint expirse, the executive crashes if no bind address was specified (Logical change 1.173) git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@588 fd59a12c-fef9-0310-b244-a6a79926bd2f --- exec/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exec/main.c b/exec/main.c index 865f6cfa..1d89e0f1 100644 --- a/exec/main.c +++ b/exec/main.c @@ -969,6 +969,8 @@ int main (int argc, char **argv) memset(&this_non_loopback_ip, 0, sizeof(struct sockaddr_in)); + this_non_loopback_ip.sin_addr.s_addr = LOCALHOST_IP; + aisexec_uid_determine (); aisexec_gid_determine ();