Re: [Linux-cluster] Multihome network configuration not working .!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks. 

here's a patch that fixes it (yes, it is in cman_tool, not the kernel), or you
can get it from CVS.


diff -u -r1.9 join.c
--- cman/cman_tool/join.c       21 Sep 2004 08:04:43 -0000      1.9
+++ cman/cman_tool/join.c       28 Sep 2004 10:23:30 -0000
@@ -152,7 +152,7 @@
     if (bind(local_sock, (struct sockaddr *)&local_sin, sizeof(local_sin)))
        die("Cannot bind local address: %s", strerror(errno));
 
-    sock_info.number = num;
+    sock_info.number = num + 1;
     sock_info.multicast = 1;
 
     /* Pass the multicast socket to kernel space */
@@ -233,7 +233,7 @@
     if (bind(local_sock, (struct sockaddr *)&local_sin, sizeof(local_sin)))
        die("Cannot bind local address: %s", strerror(errno));
 
-    sock_info.number = num;
+    sock_info.number = num + 1;
 
     /* Pass the multicast socket to kernel space */
     sock_info.fd = mcast_sock;

-- 

patrick


[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux